File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 workflow_call :
55 repository_dispatch :
66 types : [trigger-electron-build]
7-
7+ workflow_dispatch :
8+ inputs :
9+ tag :
10+ description : ' Release tag to build for (e.g., v1.2.3)'
11+ required : true
12+ default : ' v'
813jobs :
914 build-macos :
1015 runs-on : macos-latest
3439 - name : Upload artifact to GitHub Release
3540 uses : softprops/action-gh-release@v1
3641 with :
37- tag_name : ${{ github.event.client_payload.tag }}
42+ tag_name : ${{ github.event.client_payload.tag || github.event.inputs.tag }}
3843 files : |
3944 out/make/**/*.zip
4045 out/make/**/*.dmg
6671 - name : Upload artifact to GitHub Release
6772 uses : softprops/action-gh-release@v1
6873 with :
69- tag_name : ${{ github.event.client_payload.tag }}
74+ tag_name : ${{ github.event.client_payload.tag || github.event.inputs.tag }}
7075 files : |
7176 out/make/**/*.AppImage
7277 out/make/**/*.deb
9196 git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
9297
9398 - name : Install dependencies with retry # Retry logic for Windows because of network issues
99+ shell : bash
94100 run : |
95101 for i in 1 2 3; do
96102 yarn install --frozen-lockfile && break || sleep 10
@@ -102,7 +108,7 @@ jobs:
102108 - name : Upload artifact to GitHub Release
103109 uses : softprops/action-gh-release@v1
104110 with :
105- tag_name : ${{ github.event.client_payload.tag }}
111+ tag_name : ${{ github.event.client_payload.tag || github.event.inputs.tag }}
106112 files : |
107113 out/make/**/*.exe
108114 out/make/**/*.zip
You can’t perform that action at this time.
0 commit comments