Skip to content

fix: simplify flatpak app description #34

fix: simplify flatpak app description

fix: simplify flatpak app description #34

Workflow file for this run

name: flatpak
on:
workflow_dispatch:
pull_request:
paths:
- flatpak/**
- .github/workflows/flatpak.yml
# Offline sources are generated from lockfiles, so validate dep changes
- pnpm-lock.yaml
- src-tauri/Cargo.lock
jobs:
flatpak:
runs-on: ubuntu-latest
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-50
options: --privileged
steps:
- uses: actions/checkout@v6
# Generated fresh from the lockfiles every build so they can never
# drift. (The flathub repo gets a committed copy at release time.)
- name: Generate offline dependency sources
run: bash flatpak/generate-sources.sh
# The manifest holds placeholder pins (see flatpak/README.md).
# Point it at the commit under test.
- name: Build flatpak from this commit
run: |
sed -i \
-e "/^ tag: /d" \
-e "s|^ commit: .*| commit: ${{ github.event.pull_request.head.sha || github.sha }}|" \
flatpak/app.vger.voyager.yml
grep "commit: ${{ github.event.pull_request.head.sha || github.sha }}" flatpak/app.vger.voyager.yml
- uses: flatpak/flatpak-github-actions/flatpak-builder@401fe28a8384095fc1531b9d320b292f0ee45adb # v6.7
with:
bundle: voyager.flatpak
manifest-path: flatpak/app.vger.voyager.yml
cache-key: flatpak-builder-${{ github.sha }}
arch: x86_64