.github/workflows/release: make sure GH_TOKEN is set for upload
This commit is contained in:
parent
4de06853d9
commit
efa44c22bb
1 changed files with 2 additions and 0 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -39,6 +39,8 @@ jobs:
|
|||
# Source0 expands to `https://github.com/osbuild/image-builder-frontend/releases/download/v$VERSION/cockpit-image-builder-v$VERSION.tar.gz`,
|
||||
# so the v needs to be in the tarball when we upload it as a release artefact.
|
||||
- name: Upload release artefact
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
gh release upload ${{github.ref_name}} \
|
||||
../cockpit-image-builder-${{github.ref_name}}.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue