From 17fbbbea2a03ae28f2a3e9cf82e6c7ec51cfe397 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Fri, 15 Apr 2022 18:59:23 +0200 Subject: [PATCH] Skip docker login and upload artifacts (#298) skipping docker login when PR to catch issues earlier Also, uploading artifacts and keeping then for 3 days This will help some debug --- .github/workflows/release.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00cfd5908..a98c89823 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,7 @@ jobs: uses: docker/setup-buildx-action@v1 - name: Login to Docker hub + if: github.event_name != 'pull_request' uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_USER }} @@ -73,7 +74,14 @@ jobs: ref: v0.0.2 token: ${{ secrets.SIGN_GITHUB_TOKEN }} inputs: '{ "tag": "${{ github.ref }}" }' - + - + name: upload non tags for debug purposes + uses: actions/upload-artifact@v2 + with: + name: build + path: dist/ + retention-days: 3 + release_ui: runs-on: macos-latest steps: @@ -109,3 +117,10 @@ jobs: HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} UPLOAD_DEBIAN_SECRET: ${{ secrets.PKG_UPLOAD_SECRET }} UPLOAD_YUM_SECRET: ${{ secrets.PKG_UPLOAD_SECRET }} + - + name: upload non tags for debug purposes + uses: actions/upload-artifact@v2 + with: + name: build-ui-darwin + path: dist/ + retention-days: 3