Skip to content

Commit 6ea46fb

Browse files
authored
update CI
1 parent d829d95 commit 6ea46fb

File tree

1 file changed

+18
-36
lines changed

1 file changed

+18
-36
lines changed

.github/workflows/blank.yml renamed to .github/workflows/appimage.yml

Lines changed: 18 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
name: Appimage
1+
name: Anylinux-AppImage
22
concurrency:
33
group: build-${{ github.ref }}
44
cancel-in-progress: true
5-
65
on:
76
schedule:
8-
- cron: "0 7 1/14 * *"
7+
- cron: "0 7 1/21 * *" # We default to rebuilding every 21 days, change this to your liking
98
workflow_dispatch: {}
109

1110
jobs:
@@ -16,54 +15,37 @@ jobs:
1615
matrix:
1716
include:
1817
- runs-on: ubuntu-latest
19-
name: "puddletag build"
18+
name: Build AppImage
2019
arch: x86_64
21-
# - runs-on: ubuntu-24.04-arm
22-
# name: "puddletag build"
23-
# arch: aarch64
20+
# comment out these 3 lines if aarch64 is not wanted
21+
- runs-on: ubuntu-24.04-arm
22+
name: Build AppImage
23+
arch: aarch64
2424
container: ghcr.io/pkgforge-dev/archlinux:latest
2525
steps:
26-
- uses: actions/checkout@v4
27-
with:
28-
persist-credentials: false
29-
30-
- name: Install dependencies
31-
if: always()
32-
run: chmod +x ./get-dependencies.sh && ./get-dependencies.sh
33-
26+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
27+
- name: Preparing Container
28+
uses: pkgforge-dev/anylinux-setup-action@8872fabe63f9a00b35e25b2f46da62a05afc9a7d # v1
29+
- name: Install Dependencies
30+
run: /bin/sh ./get-dependencies.sh
3431
- name: Make AppImage
35-
run: chmod +x ./*-appimage.sh && ./*-appimage.sh
36-
32+
run: /bin/sh ./make-appimage.sh
3733
- name: Upload artifact
38-
uses: actions/upload-artifact@v4.6.2
34+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
3935
with:
4036
name: AppImage-${{ matrix.arch }}
41-
path: 'dist'
42-
43-
- name: Upload version file
44-
uses: actions/[email protected]
45-
with:
46-
name: version
47-
path: ~/version
48-
overwrite: true
37+
path: dist
4938

5039
release:
5140
if: ${{ github.ref_name == 'main' }}
5241
needs: [build]
5342
permissions: write-all
5443
runs-on: ubuntu-latest
5544
steps:
56-
- uses: actions/[email protected]
57-
with:
58-
name: AppImage-x86_64
59-
60-
# - uses: actions/[email protected]
61-
# with:
62-
# name: AppImage-aarch64
63-
64-
- uses: actions/[email protected]
45+
- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
6546
with:
66-
name: version
47+
pattern: AppImage-*
48+
merge-multiple: true
6749

6850
- name: Read version and Get date
6951
run: |

0 commit comments

Comments
 (0)