Skip to content

Commit efa44c2

Browse files
committed
.github/workflows/release: make sure GH_TOKEN is set for upload
1 parent 4de0685 commit efa44c2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
# Source0 expands to `https://github.com/osbuild/image-builder-frontend/releases/download/v$VERSION/cockpit-image-builder-v$VERSION.tar.gz`,
4040
# so the v needs to be in the tarball when we upload it as a release artefact.
4141
- name: Upload release artefact
42+
env:
43+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4244
run: |
4345
gh release upload ${{github.ref_name}} \
4446
../cockpit-image-builder-${{github.ref_name}}.tar.gz

0 commit comments

Comments
 (0)