Skip to content

5.2.3-0 flatpak

5.2.3-0 flatpak #40

Workflow file for this run

name: CreateFlatpak
on:
pull_request:
paths:
- 'org.gramps_project.Gramps.yml'
workflow_dispatch:
jobs:
flatpak:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: InstallFlatpak
run: |
sudo add-apt-repository ppa:flatpak/stable
sudo apt update
sudo apt install flatpak flatpak-builder python3-pip
- name: SetupFlatpak
run: |
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.gnome.Platform//46 org.gnome.Sdk//46 -y
- name: BuildFlatpak
run: |
flatpak-builder --repo=repo --force-clean build-dir org.gramps_project.Gramps.yml
- name: BuildBundle
run: |
flatpak build-bundle repo gramps.flatpak org.gramps_project.Gramps
- name: UploadBundle
uses: actions/upload-artifact@main
with:
name: gramps.flatpak
path: gramps.flatpak