From 3946bd0164dc97a154b3136df180f3743cd2cbae Mon Sep 17 00:00:00 2001 From: Paul Wankadia Date: Mon, 8 Apr 2024 21:32:34 +0000 Subject: [PATCH] `GITHUB_*` variables aren't in the `env` context. Sigh. --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 566c9b2..f2bd206 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,16 +16,16 @@ jobs: steps: - uses: actions/checkout@v4.1.1 - run: | - gh release create ${{ env.GITHUB_REF_NAME }} \ + gh release create "${GITHUB_REF_NAME}" \ --generate-notes --latest --verify-tag \ - --repo ${{ env.GITHUB_REPOSITORY }} - gh release download ${{ env.GITHUB_REF_NAME }} \ + --repo "${GITHUB_REPOSITORY}" + gh release download "${GITHUB_REF_NAME}" \ --archive tar.gz \ - --repo ${{ env.GITHUB_REPOSITORY }} - gh release download ${{ env.GITHUB_REF_NAME }} \ + --repo "${GITHUB_REPOSITORY}" + gh release download "${GITHUB_REF_NAME}" \ --archive zip \ - --repo ${{ env.GITHUB_REPOSITORY }} - gh release upload ${{ env.GITHUB_REF_NAME }} \ + --repo "${GITHUB_REPOSITORY}" + gh release upload "${GITHUB_REF_NAME}" \ *.tar.gz *.zip \ - --repo ${{ env.GITHUB_REPOSITORY }} + --repo "${GITHUB_REPOSITORY}" shell: bash