File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 5
5
workflows : ["CI"]
6
6
types :
7
7
- completed
8
- branches :
9
- - stable
8
+ push :
9
+ tags :
10
+ - v*
11
+
12
+ permissions :
13
+ contents : write
10
14
11
15
jobs :
12
16
release :
13
- if : ${{ github.event.workflow_run.conclusion == 'success' }}
17
+ if : |
18
+ (github.event.workflow_run.conclusion == 'success' && github.event_name == 'workflow_run') ||
19
+ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))
14
20
runs-on : ubuntu-latest
15
21
permissions :
16
22
contents : write
34
40
for platform in "${PLATFORMS[@]}"; do
35
41
OS=${platform%/*}
36
42
ARCH=${platform#*/}
37
- output_name="releases/tinyass -${OS}-${ARCH}"
43
+ output_name="releases/squirrelzip -${OS}-${ARCH}"
38
44
if [ $OS = "windows" ]; then
39
45
output_name="$output_name.exe"
40
46
fi
You can’t perform that action at this time.
0 commit comments