Fixing the release script

This commit is contained in:
Zoe Roux 2021-04-18 19:16:30 +02:00 committed by GitHub
parent e30bdde98f
commit 484ccecb75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,8 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Set commit environment
run: echo "COMMIT_SHA=$(git rev-list -n 1 ${{github.ref}}) >> $GITHUB_ENV
- uses: actions/checkout@v2
- name: Wait for builds & tests to finish
uses: lewagon/wait-on-check-action@v0.2
@ -24,7 +26,7 @@ jobs:
- name: Download artifacts
uses: dawidd6/action-download-artifact@v2
with:
commit: ${{github.ref}}
commit: ${{env.COMMIT_SHA}}
workflow: build.yml
path: ./artifacts
github_token: ${{secrets.GITHUB_TOKEN}}