Skip to content

Commit

Permalink
build-ci: pass tag_name variable, upload MSVC artifacts to release
Browse files Browse the repository at this point in the history
  • Loading branch information
sturnclaw committed Feb 3, 2025
1 parent 682e934 commit 6a662ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:

- name: Upload Release Files
uses: softprops/action-gh-release@v1
if: ${{ github.event_name == 'release' }}
if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }}
with:
files: pioneer/pioneer-*-win.exe
tag_name: ${{ inputs.tag_name || github.ref_name }}
Expand Down Expand Up @@ -140,6 +140,7 @@ jobs:
build_slug: linux-x64-release
token: ${{ secrets.GITHUB_TOKEN }}
upload_release: true
tag_name: ${{ inputs.tag_name }}

build-clang:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -204,3 +205,4 @@ jobs:
build_slug: linux-x64-release-appimage
token: ${{ secrets.GITHUB_TOKEN }}
upload_release: true
tag_name: ${{ inputs.tag_name }}

0 comments on commit 6a662ea

Please sign in to comment.