diff --git a/.github/workflows/gh-release-create.yml b/.github/workflows/gh-release-create.yml index 5df078f5d4..9bab4be286 100644 --- a/.github/workflows/gh-release-create.yml +++ b/.github/workflows/gh-release-create.yml @@ -38,12 +38,12 @@ jobs: popd rm -rf "$f" done - - run: | + - env: + GH_TOKEN: ${{ github.token }} + GH_REPO: ${{ github.repository }} + VERSION: ${{ needs.get-version.outputs.version }} + run: | gh release create "v$VERSION" \ ${{ (inputs.draft && '--draft') || '' }} \ --generate-notes \ ./* - env: - GH_TOKEN: ${{ github.token }} - GH_REPO: ${{ github.repository }} - VERSION: ${{ needs.get-version.outputs.version }}