@@ -5,7 +5,7 @@ concurrency:
55
66on :
77 schedule :
8- - cron : " 0 7 1/6 * *"
8+ - cron : " 0 7 1/5 * *"
99 workflow_dispatch : {}
1010
1111jobs :
@@ -23,54 +23,35 @@ jobs:
2323 optimized : true
2424 name : " Citron Build (Optimized)"
2525 arch : x86_64
26- - runs-on : ubuntu-24.04-arm
27- name : " Citron Build (Normal)"
28- optimized : false
29- arch : aarch64
26+ # - runs-on: ubuntu-24.04-arm
27+ # name: "Citron Build (Normal)"
28+ # optimized: false
29+ # arch: aarch64
3030 container : ghcr.io/pkgforge-dev/archlinux:latest
3131 steps :
3232 - uses : actions/checkout@v4
33- with :
34- persist-credentials : false
35-
36- - name : Install dependencies
37- if : always()
38- run : chmod +x ./get-dependencies.sh && ./get-dependencies.sh
3933
4034 - name : Compile Citron (Normal)
4135 if : ${{ matrix.optimized == false }}
42- run : |
43- chmod +x ./citron-appimage.sh && DEVEL=true ./citron-appimage.sh
44- mkdir -p dist
45- mv *.AppImage* dist/
36+ run : chmod +x ./get-dependencies.sh && DEVEL=true ./get-dependencies.sh
4637
4738 - name : Compile Citron (Optimized)
4839 if : ${{ matrix.optimized == true }}
49- run : |
50- rm -rf ./AppDir || true
51- sudo pacman -R --noconfirm citron || true
52- chmod +x ./citron-appimage.sh && DEVEL=true ./citron-appimage.sh v3
53- mkdir -p dist
54- mv *.AppImage* dist/
55-
56- - name : Upload artifact
57- 58- with :
59- name : citron-${{ matrix.optimized && 'optimized' || 'normal' }}-appimage-${{ matrix.arch }}
60- path : " dist"
40+ run : chmod +x ./get-dependencies.sh && DEVEL=true ./get-dependencies.sh v3
6141
62- - name : Check version file
42+ - name : Make AppImage (Normal)
6343 if : ${{ matrix.optimized == false }}
64- run : |
65- cat ~/version
66- echo "APP_VERSION=$(cat ~/version)" >> "${GITHUB_ENV}"
44+ run : chmod +x ./citron-appimage.sh && DEVEL=true ./citron-appimage.sh
45+
46+ - name : Make AppImage (Optimized)
47+ if : ${{ matrix.optimized == true }}
48+ run : chmod +x ./citron-appimage.sh && DEVEL=true ./citron-appimage.sh v3
6749
68- - name : Upload version file
50+ - name : Upload artifact
69517052 with :
71- name : version
72- path : ~/version
73- overwrite : true
53+ name : AppImage-${{ matrix.optimized && 'optimized' || 'normal' }}-${{ matrix.arch }}
54+ path : " dist"
7455
7556 release :
7657 if : ${{ github.ref_name == 'main' }}
@@ -84,24 +65,14 @@ jobs:
8465 steps :
85668667 with :
87- name : citron-optimized-appimage-x86_64
88-
89- 90- with :
91- name : citron-normal-appimage-x86_64
92-
93- 94- with :
95- name : citron-normal-appimage-aarch64
96-
97- 98- with :
99- name : version
68+ pattern : AppImage-*
69+ merge-multiple : true
10070
101- - name : Read version
71+ - name : Read version and Get date
10272 run : |
103- export VERSION="$(cat version)"
104- echo "APP_VERSION=${VERSION}" >> "${GITHUB_ENV}"
73+ cat ./version
74+ echo "VERSION=$(cat ./version)" >> "${GITHUB_ENV}"
75+ echo "DATE=$(date +'%Y-%m-%d_%s')" >> "${GITHUB_ENV}"
10576
10677 - name : Del Previous Release
10778 run : gh release delete "nightly" --repo "${GITHUB_REPOSITORY}" --cleanup-tag -y && sleep 5
11182
11283 -
uses :
softprops/[email protected] 11384 with :
114- name : " Continuous Build (Nightly Version: ${{ env.APP_VERSION }})"
85+ name : " Continuous Build (Nightly Version: ${{ env.VERSION }})"
11586 tag_name : " nightly"
11687 prerelease : true
11788 draft : false
0 commit comments