ci: 非release版本不上传工件

This commit is contained in:
octopus_yan 2024-10-19 17:14:41 +08:00
parent 4988cdc31e
commit 115e672f26

View File

@ -121,10 +121,12 @@ jobs:
mkdir zipball && cp target/*.zip zipball mkdir zipball && cp target/*.zip zipball
- name: Upload AListGUI to Github - name: Upload AListGUI to Github
if: startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: AListGUI-windows name: AListGUI-windows
path: zipball path: zipball
retention-days: 5
release: release:
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')