Update flatpak manifest #34
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |