Fix BUILD_REF for develop and other non-PR triggers (#4496)

This commit is contained in:
Filipe Freire 2022-02-14 18:56:07 +00:00 committed by David Marby
parent 8d1b15355d
commit c6717a83dd

View File

@ -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