Skip to content

Commit

Permalink
chore: Update build workflow to use github.ref_name instead of github…
Browse files Browse the repository at this point in the history
….ref
  • Loading branch information
HomeArchbishop committed Jul 28, 2024
1 parent e21223b commit 3a110e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
draft: false
prerelease: false

Expand All @@ -46,7 +46,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: .\dist.zip
asset_name: kaption-${{ github.ref }}-no_model.zip
asset_name: kaption-${{ github.ref_name }}-no_model.zip
asset_content_type: application/zip

- name: Upload start.exe files
Expand All @@ -56,6 +56,6 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: .\dist\start.exe
asset_name: start-${{ github.ref }}.exe
asset_name: start-${{ github.ref_name }}.exe
asset_content_type: application/octet-stream

0 comments on commit 3a110e5

Please sign in to comment.