File tree Expand file tree Collapse file tree 1 file changed +70
-0
lines changed Expand file tree Collapse file tree 1 file changed +70
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Appimage
2+ concurrency :
3+ group : build-${{ github.ref }}
4+ cancel-in-progress : true
5+
6+ on :
7+ schedule :
8+ - cron : " 0 7 1/14 * *"
9+ workflow_dispatch :
10+
11+ jobs :
12+ build :
13+ name : " ${{ matrix.name }} (${{ matrix.arch }})"
14+ runs-on : ${{ matrix.runs-on }}
15+ strategy :
16+ matrix :
17+ include :
18+ - runs-on : ubuntu-latest
19+ name : Build AppImage
20+ arch : x86_64
21+ - runs-on : ubuntu-24.04-arm
22+ name : Build AppImage
23+ arch : aarch64
24+ container :
25+ image : ghcr.io/pkgforge-dev/archlinux:latest
26+ options : --privileged --device /dev/fuse
27+ steps :
28+ - uses : actions/checkout@v5
29+
30+ - name : Get dependencies
31+ run : /bin/sh ./get-dependencies.sh
32+
33+ - name : Make AppImage
34+ run : /bin/sh ./*-appimage.sh
35+
36+ - name : Upload artifact
37+ uses : actions/upload-artifact@v4.6.2
38+ with :
39+ name : AppImage-${{ matrix.arch }}
40+ path : ' dist'
41+
42+ release :
43+ if : ${{ github.ref_name == 'main' }}
44+ needs : [build]
45+ permissions : write-all
46+ runs-on : ubuntu-latest
47+
48+ steps :
49+ - uses : actions/download-artifact@v5.0.0
50+ with :
51+ pattern : AppImage-*
52+ merge-multiple : true
53+
54+ - name : Read version and Get date
55+ run : |
56+ cat ./version
57+ echo "VERSION=$(cat ./version)" >> "${GITHUB_ENV}"
58+ echo "DATE=$(date +'%Y-%m-%d_%s')" >> "${GITHUB_ENV}"
59+
60+ - name : Release Artifacts
61+ uses : softprops/action-gh-release@v2.4.0
62+ with :
63+ name : " Cusror: ${{ env.VERSION }}"
64+ tag_name : " ${{ env.VERSION }}@${{ env.DATE }}"
65+ prerelease : false
66+ draft : false
67+ generate_release_notes : false
68+ make_latest : true
69+ files : |
70+ *.AppImage*
You can’t perform that action at this time.
0 commit comments