File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 7676 name : 交叉编译
7777 runs-on : ubuntu-latest
7878 needs : test
79- if : github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/001-py-to-go-migration')
79+ if : github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/001-py-to-go-migration' || startsWith(github.ref, 'refs/tags/') )
8080 steps :
8181 - name : 检出代码
8282 uses : actions/checkout@v4
@@ -118,7 +118,8 @@ jobs:
118118 with :
119119 name : binaries
120120 path : |
121- jsfindcrack-*
121+ jsfindcrack-*.tar.gz
122+ jsfindcrack-*.zip
122123 retention-days : 30
123124
124125 lint :
@@ -152,14 +153,22 @@ jobs:
152153 uses : actions/download-artifact@v4
153154 with :
154155 name : binaries
156+ path : ./release-files
157+
158+ - name : 列出下载的文件
159+ run : |
160+ echo "下载的文件:"
161+ ls -la ./release-files/
155162
156163 - name : 创建Release
157164 uses : softprops/action-gh-release@v1
158165 with :
159166 files : |
160- jsfindcrack- *.tar.gz
161- jsfindcrack- *.zip
167+ ./release-files/ *.tar.gz
168+ ./release-files/ *.zip
162169 fail_on_unmatched_files : true
163170 generate_release_notes : true
171+ draft : false
172+ prerelease : false
164173 env :
165174 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments