Skip to content

Commit fd3684c

Browse files
committed
Merge remote-tracking branch 'origin/main'
# Conflicts: # README.md # get-dependencies.sh # make-appimage.sh
2 parents 8ca2320 + 559fad9 commit fd3684c

1 file changed

Lines changed: 57 additions & 0 deletions

File tree

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Anylinux-AppImage (Nightly)
2+
concurrency:
3+
group: build-${{ github.ref }}
4+
cancel-in-progress: true
5+
on:
6+
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
7+
# comment these two out to enable nightly builds, This sets the variable DEVEL_RELEASE=1 for #
8+
# get-dependencies.sh to make a nightly release, this will make a release with 'nightly' tag #
9+
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
10+
# schedule:
11+
# - cron: "0 5 1/2 * *" # We default to rebuilding nightly every 2 days, change this to your liking
12+
workflow_dispatch: {}
13+
14+
jobs:
15+
build:
16+
name: "${{ matrix.name }} (${{ matrix.arch }})"
17+
runs-on: ${{ matrix.runs-on }}
18+
strategy:
19+
matrix:
20+
include:
21+
- runs-on: ubuntu-latest
22+
name: Build AppImage
23+
arch: x86_64
24+
# comment out these 3 lines if aarch64 is not wanted
25+
- runs-on: ubuntu-24.04-arm
26+
name: Build AppImage
27+
arch: aarch64
28+
container: ghcr.io/pkgforge-dev/archlinux:latest
29+
steps:
30+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
31+
- name: Preparing Container
32+
uses: pkgforge-dev/anylinux-setup-action@0964f2258d6c93d1391359978dde081fd8b3c6af # v2
33+
- name: Install Dependencies
34+
run: DEVEL_RELEASE=1 /bin/sh ./get-dependencies.sh
35+
- name: Make AppImage
36+
run: DEVEL_RELEASE=1 /bin/sh ./make-appimage.sh
37+
- name: Upload artifact
38+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
39+
with:
40+
name: AppImage-${{ matrix.arch }}
41+
path: dist
42+
43+
release:
44+
if: ${{ github.ref_name == 'main' }}
45+
needs: [build]
46+
permissions: write-all
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
50+
with:
51+
pattern: AppImage-*
52+
merge-multiple: true
53+
continue-on-error: true
54+
- name: Release Nightly AppImage
55+
uses: pkgforge-dev/make-nightly-appimage-release@17cbe90fc0796286e424619a54a82a3a880efe4c # v1.1
56+
with:
57+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)