Skip to content

Commit

Permalink
GITHUB_* variables aren't in the env context. Sigh.
Browse files Browse the repository at this point in the history
  • Loading branch information
junyer committed Apr 8, 2024
1 parent 3ff3012 commit 3946bd0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3946bd0

Please sign in to comment.