Skip to content

Commit 2bc3d8b

Browse files
authored
partially migrate to template
1 parent c31472a commit 2bc3d8b

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

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

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
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/21 * *"
9-
workflow_dispatch:
7+
- cron: "0 7 1/21 * *" # We default to rebuilding every 21 days, change this to your liking
8+
workflow_dispatch: {}
109

1110
jobs:
1211
build:
@@ -18,23 +17,23 @@ jobs:
1817
- runs-on: ubuntu-latest
1918
name: Build AppImage
2019
arch: x86_64
20+
# comment out these 3 lines if aarch64 is not wanted
2121
- runs-on: ubuntu-24.04-arm
2222
name: Build AppImage
2323
arch: aarch64
2424
container:
2525
image: ghcr.io/pkgforge-dev/archlinux:latest
2626
options: --privileged --device /dev/fuse
2727
steps:
28-
- uses: actions/checkout@v4
29-
30-
- name: Get dependencies
31-
run: chmod +x ./get-dependencies.sh && ./get-dependencies.sh
32-
28+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
29+
- name: Preparing Container
30+
uses: pkgforge-dev/anylinux-setup-action@8872fabe63f9a00b35e25b2f46da62a05afc9a7d # v1
31+
- name: Install Dependencies
32+
run: /bin/sh ./get-dependencies.sh
3333
- name: Make AppImage
34-
run: chmod +x ./*-appimage.sh && ./*-appimage.sh
35-
34+
run: /bin/sh ./make-appimage.sh
3635
- name: Upload artifact
37-
uses: actions/upload-artifact@v4.6.2
36+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
3837
with:
3938
name: AppImage-${{ matrix.arch }}
4039
path: dist
@@ -45,17 +44,15 @@ jobs:
4544
permissions: write-all
4645
runs-on: ubuntu-latest
4746
steps:
48-
- uses: actions/download-artifact@v4.3.0
47+
- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
4948
with:
5049
pattern: AppImage-*
5150
merge-multiple: true
52-
5351
- name: Read version and Get date
5452
run: |
5553
cat ./version
5654
echo "VERSION=$(cat ./version)" >> "${GITHUB_ENV}"
5755
echo "DATE=$(date +'%Y-%m-%d_%s')" >> "${GITHUB_ENV}"
58-
5956
- name: Release Artifacts
6057
uses: softprops/[email protected]
6158
with:
@@ -69,7 +66,6 @@ jobs:
6966
files: |
7067
*.AppImage*
7168
*.AppBundle*
72-
7369
- uses: actions/checkout@v4
7470
- name: Update LATEST_VERSION
7571
run: |

0 commit comments

Comments
 (0)