@@ -4,7 +4,7 @@ concurrency:
44 cancel-in-progress : true
55on :
66 schedule :
7- - cron : " 0 21 * * 0 "
7+ - cron : " 0 7 1/14 * * "
88 workflow_dispatch :
99
1010jobs :
@@ -22,61 +22,46 @@ jobs:
2222 arch : aarch64
2323 container : ghcr.io/pkgforge-dev/archlinux:latest
2424 steps :
25- - uses : actions/checkout@v4
25+ - uses : actions/checkout@v4
2626
27- - name : Get dependencies
28- run : chmod +x ./get-dependencies.sh && ./get-dependencies.sh
27+ - name : Get dependencies
28+ run : chmod +x ./get-dependencies.sh && ./get-dependencies.sh
2929
30- - name : Make AppImage
31- run : chmod +x ./*-appimage.sh && ./*-appimage.sh
30+ - name : Make AppImage
31+ run : chmod +x ./*-appimage.sh && ./*-appimage.sh
3232
33- - name : Upload artifact
34- 35- with :
36- name : AppImage-${{ matrix.arch }}
37- path : " dist"
38-
39- - name : Upload version file
40- 41- with :
42- name : version
43- path : ~/version
44- overwrite : true
33+ - name : Upload artifact
34+ 35+ with :
36+ name : AppImage-${{ matrix.arch }}
37+ path : dist
4538
4639 release :
47- if : ${{ github.ref_name == 'main' }}
48- needs : [build]
49- permissions : write-all
50- runs-on : ubuntu-latest
51-
52- steps :
53- 54- with :
55- name : AppImage-x86_64
56-
57- 58- with :
59- name : AppImage-aarch64
60-
61- 62- with :
63- name : version
40+ if : ${{ github.ref_name == 'main' }}
41+ needs : [build]
42+ permissions : write-all
43+ runs-on : ubuntu-latest
44+ steps :
45+ 46+ with :
47+ pattern : AppImage-*
48+ merge-multiple : true
6449
65- - name : Read version and Get date
66- run : |
67- echo "VERSION=$(cat version)" >> "${GITHUB_ENV}"
68- echo "DATE=$(date +'%Y-%m-%d_%s')" >> "$GITHUB_ENV"
50+ - name : Read version and Get date
51+ run : |
52+ echo "VERSION=$(cat version)" >> "${GITHUB_ENV}"
53+ echo "DATE=$(date +'%Y-%m-%d_%s')" >> "$GITHUB_ENV"
6954
70- - name : Release Artifacts
71- 72- with :
73- name : " rofi: ${{ env.VERSION }}"
74- tag_name : " ${{ env.VERSION }}@${{ env.DATE }}"
75- prerelease : false
76- draft : false
77- generate_release_notes : false
78- fail_on_unmatched_files : false
79- make_latest : true
80- files : |
81- *.AppImage*
82- *.AppBundle*
55+ - name : Release Artifacts
56+ 57+ with :
58+ name : " rofi: ${{ env.VERSION }}"
59+ tag_name : " ${{ env.VERSION }}@${{ env.DATE }}"
60+ prerelease : false
61+ draft : false
62+ generate_release_notes : false
63+ fail_on_unmatched_files : false
64+ make_latest : true
65+ files : |
66+ *.AppImage*
67+ *.AppBundle*
0 commit comments