Skip to content

Build Flatpak

Build Flatpak #5

Workflow file for this run

name: Build Flatpak
on:
workflow_dispatch:
jobs:
flatpak:
name: Flatpak
runs-on: ubuntu-latest
container:
image: ghcr.io/andyholmes/flatter/freedesktop:24.08
options: --privileged
steps:
- uses: actions/checkout@v4
- name: Setup GPG
id: gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- uses: andyholmes/flatter@main
with:
files: com.github.mpvqc.mpvQC.yml
gpg-sign: ${{ steps.gpg.outputs.fingerprint }}
upload-pages-artifact: true
upload-pages-includes: |
mpvQC.flatpakref
deploy:
name: Deploy
if: ${{ github.ref == 'refs/heads/main' }}
needs: flatpak
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: GitHub Pages
id: deployment
uses: actions/deploy-pages@v4