From efa44c22bb6fe1a7940876ad5aeccb7462e3e149 Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Fri, 31 Jan 2025 13:28:39 +0100 Subject: [PATCH] .github/workflows/release: make sure GH_TOKEN is set for upload --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d4fb8bb..39c9fbe9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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