Skip to content

Commit 4c34196

Browse files
authored
use release action
1 parent 70547fa commit 4c34196

File tree

1 file changed

+2
-28
lines changed

1 file changed

+2
-28
lines changed

.github/workflows/appimage.yml

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -47,31 +47,5 @@ jobs:
4747
with:
4848
pattern: AppImage-*
4949
merge-multiple: true
50-
- name: Read version and get date
51-
run: |
52-
cat ./appname
53-
cat ./version
54-
echo "APPNAME=$(cat ./appname)" >> "${GITHUB_ENV}"
55-
echo "VERSION=$(cat ./version)" >> "${GITHUB_ENV}"
56-
echo "DATE=$(date +'%Y-%m-%d_%s')" >> "${GITHUB_ENV}"
57-
- name: Release Artifacts
58-
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
59-
with:
60-
name: "${{ env.APPNAME }}: ${{ env.VERSION }}"
61-
tag_name: "${{ env.VERSION }}@${{ env.DATE }}"
62-
prerelease: false
63-
draft: false
64-
generate_release_notes: false
65-
make_latest: true
66-
files: |
67-
*.AppImage*
68-
69-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
70-
- name: Update LATEST_VERSION
71-
run: |
72-
echo "${{ env.VERSION }}" > ./LATEST_VERSION
73-
git config user.name "github-actions[bot]"
74-
git config user.email "github-actions[bot]@users.noreply.github.com"
75-
git add ./LATEST_VERSION
76-
git commit --allow-empty -m 'bump `LATEST_VERSION` [skip ci]'
77-
git push
50+
- name: Release AppImage
51+
uses: pkgforge-dev/make-stable-appimage-release@v1

0 commit comments

Comments
 (0)