-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (51 loc) · 1.75 KB
/
appimage-nightly.yml
File metadata and controls
53 lines (51 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Anylinux-AppImage (Nightly)
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
on:
schedule:
- cron: "0 5 1/3 * *" # We default to rebuilding every 21 days, change this to your liking
workflow_dispatch: {}
jobs:
build:
name: "${{ matrix.name }} (${{ matrix.arch }})"
runs-on: ${{ matrix.runs-on }}
strategy:
matrix:
include:
- runs-on: ubuntu-latest
name: Build AppImage
arch: x86_64
# comment out these 3 lines if aarch64 is not wanted
- runs-on: ubuntu-24.04-arm
name: Build AppImage
arch: aarch64
container: ghcr.io/pkgforge-dev/archlinux:latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Preparing Container
uses: pkgforge-dev/anylinux-setup-action@0964f2258d6c93d1391359978dde081fd8b3c6af # v2
- name: Install Dependencies
run: DEVEL_RELEASE=1 /bin/sh ./get-dependencies.sh
- name: Make AppImage
run: DEVEL_RELEASE=1 /bin/sh ./make-appimage.sh
- name: Upload artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: AppImage-${{ matrix.arch }}
path: dist
release:
if: ${{ github.ref_name == 'main' }}
needs: [build]
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
pattern: AppImage-*
merge-multiple: true
continue-on-error: true
- name: Release Nightly AppImage
uses: pkgforge-dev/make-nightly-appimage-release@v1.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}