Skip to content

bug fix: 5.2.0-1 allows home access, also changes workflow to compile pull requests #33

bug fix: 5.2.0-1 allows home access, also changes workflow to compile pull requests

bug fix: 5.2.0-1 allows home access, also changes workflow to compile pull requests #33

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//45 org.gnome.Sdk//45 -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