From bcad07b9aad1926bb7138432bbc0064018672703 Mon Sep 17 00:00:00 2001 From: Filipe Freire Date: Mon, 14 Feb 2022 18:56:07 +0000 Subject: [PATCH] Fix BUILD_REF for develop and other non-PR triggers (#4496) --- .github/workflows/release-recurring.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-recurring.yml b/.github/workflows/release-recurring.yml index 91d994762..1ff9376ea 100644 --- a/.github/workflows/release-recurring.yml +++ b/.github/workflows/release-recurring.yml @@ -41,7 +41,7 @@ jobs: - name: Package shell: bash - run: BUILD_REF="$(git rev-parse --short HEAD)${{ github.event_name == 'pull_request' && '.pr-$PR_NUMBER' }}" BUILD_TARGETS='${{ matrix.build-targets }}' npm run app-package + run: BUILD_REF="$(git rev-parse --short HEAD)${{ github.event_name == 'pull_request' && '.pr-$PR_NUMBER' || '' }}" BUILD_TARGETS='${{ matrix.build-targets }}' npm run app-package - name: Upload artifacts uses: actions/upload-artifact@v2