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 55 workflows : ["CI"]
66 types :
77 - completed
8- branches :
9- - stable
8+ push :
9+ tags :
10+ - v*
11+
12+ permissions :
13+ contents : write
1014
1115jobs :
1216 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'))
1420 runs-on : ubuntu-latest
1521 permissions :
1622 contents : write
3440 for platform in "${PLATFORMS[@]}"; do
3541 OS=${platform%/*}
3642 ARCH=${platform#*/}
37- output_name="releases/tinyass -${OS}-${ARCH}"
43+ output_name="releases/squirrelzip -${OS}-${ARCH}"
3844 if [ $OS = "windows" ]; then
3945 output_name="$output_name.exe"
4046 fi
You can’t perform that action at this time.
0 commit comments