We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60fc351 commit 4ea214fCopy full SHA for 4ea214f
1 file changed
.github/workflows/release-builds.yml
@@ -2,6 +2,10 @@ name: Build and release executables
2
3
on:
4
workflow_dispatch:
5
+ inputs:
6
+ tag:
7
+ description: "Release tag (e.g., v1.2.3)"
8
+ required: true
9
push:
10
tags:
11
- "v*"
@@ -71,6 +75,7 @@ jobs:
71
75
release:
72
76
runs-on: ubuntu-latest
73
77
needs: [build-windows, build-linux]
78
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
74
79
steps:
80
- name: Download artifacts
81
uses: actions/download-artifact@v4
@@ -80,6 +85,8 @@ jobs:
85
- name: Create GitHub Release
86
uses: softprops/action-gh-release@v2
82
87
with:
88
+ tag_name: ${{ inputs.tag || github.ref_name }}
89
+ target_commitish: ${{ github.sha }}
83
90
files: |
84
91
dist/ist-fenix-auto-enroller-windows/ist-fenix-auto-enroller.exe
92
dist/ist-fenix-auto-enroller-linux/ist-fenix-auto-enroller
0 commit comments