30 lines
733 B
YAML
30 lines
733 B
YAML
name: Build Flatpak
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
flatpak:
|
|
name: "Build Flatpak"
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-49
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build Flatpak
|
|
uses: flatpak/flatpak-builder-action@v6
|
|
with:
|
|
manifest-path: gay.valhrafnaz.Voidmanifest.json
|
|
bundle: gay.valhrafnaz.Voidmanifest.flatpak
|
|
cache-key: flatpak-builder-${{ github.sha }}
|
|
|
|
- name: Upload Flatpak artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: void-manifest-flatpak
|
|
path: gay.valhrafnaz.Voidmanifest.flatpak
|