Skip to content

Commit 3874de9

Browse files
committed
.github/workflows/appimage.yml:use ncipollo/release-action@v1
1 parent c89efb4 commit 3874de9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/appimage.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ jobs:
1010
# This workflow contains a single job called "build"
1111
build:
1212
runs-on: ubuntu-18.04
13-
env:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1513
steps:
1614
- uses: actions/checkout@v3
1715
with:
@@ -28,8 +26,6 @@ jobs:
2826
run: |
2927
wget -nv -c https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
3028
chmod +x linuxdeploy-x86_64.AppImage
31-
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
32-
chmod +x pyuploadtool-x86_64.AppImage
3329
- run: |
3430
meson setup _build -Dprefix=/usr -Dstrip=true --buildtype=release
3531
cd _build
@@ -38,4 +34,10 @@ jobs:
3834
../linuxdeploy-x86_64.AppImage --executable AppDir/usr/bin/modemu2k \
3935
--icon-file=../packaging/modemu2k.png --icon-filename=modemu2k \
4036
--create-desktop-file --appdir $PWD/AppDir --output appimage
41-
../pyuploadtool-x86_64.AppImage modemu2k*AppImage
37+
- name: Deploy AppImage
38+
uses: ncipollo/release-action@v1
39+
with:
40+
allowUpdates: True
41+
prerelease: False
42+
artifacts: "modemu2k*AppImage"
43+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)