Skip to content

Commit

Permalink
Try BIN_COMMIT tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
alexroan committed May 31, 2024
1 parent a11fdb6 commit a510838
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,6 @@ jobs:

- name: Build Binary
run: cargo build --verbose --locked --release --target ${{ matrix.target }}

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Create Binary
shell: bash
Expand All @@ -98,6 +87,17 @@ jobs:
# Export BIN_RELEASE to GITHUB_ENV
echo "BIN_RELEASE_VERSIONED=${BIN_RELEASE_VERSIONED}" >> $GITHUB_ENV

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.BIN_COMMIT }}
release_name: Release ${{ env.BIN_COMMIT }}
draft: true
prerelease: true

- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit a510838

Please sign in to comment.