diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ec0e62d..4b3c69e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -129,11 +129,13 @@ jobs: name: Create a Release id: create_release uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: # The name of the tag. This should come from the webhook payload, `github.GITHUB_REF` when a user pushes a new tag - tag_name: ${{ github.GITHUB_REF }} + tag_name: "v${{ env.VERSION_NAME }}" # The name of the release. For example, `Release v1.0.1` - release_name: Release v$VERSION_NAME + release_name: "Release v${{ env.VERSION_NAME }}" # Text describing the contents of the tag. body: "" draft: false @@ -141,7 +143,7 @@ jobs: - name: Upload Release Asset id: upload_release_assets - uses: NBTX/upload-release-assets@v1 + uses: NBTX/upload-release-assets@v2.0.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: