File tree 1 file changed +14
-3
lines changed
1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ name: Release-Executable
9
9
# https://anshumanfauzdar.medium.com/using-github-actions-to-bundle-python-application-into-a-single-package-and-automatic-release-834bd42e0670
10
10
11
11
on :
12
- release :
13
- types : [published]
12
+ push :
13
+ tags :
14
+ - ' *'
14
15
workflow_dispatch :
15
16
16
17
jobs :
@@ -94,10 +95,20 @@ jobs:
94
95
with :
95
96
name : ${{ matrix.OUT_FILE_NAME }}
96
97
path : ./dist/${{ matrix.TARGET }}/${{ matrix.OUT_FILE_NAME }}
97
-
98
+
98
99
- name : Upload artifact for Mac
99
100
if : matrix.TARGET == 'macos'
100
101
uses : actions/upload-artifact@v4
101
102
with :
102
103
name : ${{ matrix.BUNDLE_NAME }}
103
104
path : ./dist/${{ matrix.TARGET }}/${{ matrix.BUNDLE_NAME }}.tar
105
+
106
+ - name : Upload binaries to release
107
+ uses : svenstaro/upload-release-action@v2
108
+ with :
109
+ repo_token : ${{ secrets.GITHUB_TOKEN }}
110
+ file : ./dist/${{ matrix.TARGET }}/${{ matrix.OUT_FILE_NAME }}/
111
+ tag : ${{ github.ref_name }}
112
+ overwrite : true
113
+ promote : true
114
+
You can’t perform that action at this time.
0 commit comments