fix: set explicit release tag in workflow_dispatch
This commit is contained in:
parent
b43fc32f98
commit
9c328a247d
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
|
||||
- name: Checkout release tag
|
||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
run: git checkout ${{ inputs.tag }}
|
||||
run: git checkout ${{ steps.tag.outputs.tag }}
|
||||
|
||||
- name: Resolve packages
|
||||
run: swift package resolve
|
||||
@ -72,7 +72,10 @@ jobs:
|
||||
- name: Publish release assets
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: ${{ steps.tag.outputs.tag }}
|
||||
name: ${{ steps.tag.outputs.tag }}
|
||||
files: dist/imsg-macos.zip
|
||||
fail_on_unmatched_files: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user