Skip to content

Merge pull request #101 from haggen88/translation #54

Merge pull request #101 from haggen88/translation

Merge pull request #101 from haggen88/translation #54

Workflow file for this run

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