Skip to content

Commit b3cf4da

Browse files
committed
add workflows/appimage-release.yml
1 parent 160170c commit b3cf4da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/appimage-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: appimage-release
22
on:
33
push:
4-
branches: [ main ]
4+
tags:
5+
- 'v*'
56
jobs:
67
appimage:
78
runs-on: ubuntu-20.04
@@ -19,7 +20,6 @@ jobs:
1920
name: deepin-calculator.AppImage
2021
path: ./appimage/deepin-calculator/build/deepin-calculator.AppImage
2122
- uses: ncipollo/release-action@v1
22-
if: startsWith(github.ref, 'refs/tags/v')
2323
with:
24-
artifacts: "appimage-release/deepin-calculator.AppImage"
24+
artifacts: "./appimage/deepin-calculator/build/deepin-calculator.AppImage"
2525
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)