File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 11name : appimage-release
22on :
33 push :
4- branches : [ main ]
4+ tags :
5+ - ' v*'
56jobs :
67 appimage :
78 runs-on : ubuntu-20.04
@@ -14,12 +15,15 @@ jobs:
1415 export ACTION_MODE=true
1516 cd appimage
1617 docker-compose up
17- - uses : actions/upload-artifact@v3
18+
19+ - name : upload artifact
20+ uses : actions/upload-artifact@v3
1821 with :
1922 name : deepin-calculator.AppImage
2023 path : ./appimage/deepin-calculator/build/deepin-calculator.AppImage
21- - uses : ncipollo/release-action@v1
22- if : startsWith(github.ref, 'refs/tags/v')
24+
25+ - name : create release
26+ uses : ncipollo/release-action@v1
2327 with :
24- artifacts : " appimage-release /deepin-calculator.AppImage"
28+ artifacts : " ./ appimage/deepin-calculator/build /deepin-calculator.AppImage"
2529 token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments