diff --git a/.github/workflows/generate-release-zipfile.yml b/.github/workflows/generate-release-zipfile.yml index e43d5b2..31f804e 100644 --- a/.github/workflows/generate-release-zipfile.yml +++ b/.github/workflows/generate-release-zipfile.yml @@ -4,6 +4,9 @@ on: jobs: GenerateReleaseZipfile: runs-on: ubuntu-latest + # To allow access to the artifact with the GITHUB_TOKEN at the last step + permissions: + actions: read steps: - name: Generate some content run: | @@ -50,9 +53,6 @@ jobs: printf "steps.uploading.outputs.artifact-url: %s\n" "${{ steps.uploading.outputs.artifact-url }}" - name: Check the content of the uploaded artifact - # To allow access to the artifact with the GITHUB_TOKEN - permissions: - actions: read run: | # Stop at first error and be verbose set -ex