forked from kem-a/AppManager
-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (55 loc) · 1.53 KB
/
package.yml
File metadata and controls
63 lines (55 loc) · 1.53 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
54
55
56
57
58
59
60
61
62
63
name: Build and Package
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build:
name: "Build AppImage (${{ matrix.arch }})"
permissions:
contents: read
runs-on: ${{ matrix.runs-on }}
strategy:
matrix:
include:
- runs-on: ubuntu-latest
arch: x86_64
- runs-on: ubuntu-24.04-arm
arch: aarch64
container: ghcr.io/pkgforge-dev/archlinux:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Preparing Container
uses: pkgforge-dev/anylinux-setup-action@v1
- name: Build AnyLinux AppImage
run: sh scripts/make-anyimage.sh
- name: Upload AppImage artifact
uses: actions/upload-artifact@v4
with:
name: AppManager-anylinux-${{ matrix.arch }}.AppImage
path: build-anyimage/dist/*.AppImage
- name: Upload zsync artifact
uses: actions/upload-artifact@v4
with:
name: AppManager-anylinux-${{ matrix.arch }}.AppImage.zsync
path: build-anyimage/dist/*.AppImage.zsync
release:
if: startsWith(github.ref, 'refs/tags/')
needs: [build]
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
pattern: AppManager-*
merge-multiple: true
- name: Release AppImage
uses: softprops/action-gh-release@v2
with:
files: |
*.AppImage
*.AppImage.zsync