diff --git a/.github/workflows/flatpak-build.yml b/.github/workflows/flatpak-build.yml new file mode 100644 index 000000000..5f4424b53 --- /dev/null +++ b/.github/workflows/flatpak-build.yml @@ -0,0 +1,25 @@ +name: Flatpak Build + +on: + push: + branches: [master] + pull_request: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + container: + image: bilelmoussaoui/flatpak-github-actions:gnome-44 + options: --privileged + steps: + - uses: actions/checkout@v3 + with: + submodules: "true" + + - name: Build Flatpak bundle + uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1 + with: + bundle: modrinthApp.flatpak + manifest-path: distribution/com.modrinth.ModrinthApp.yml + cache-key: flatpak-builder-${{ github.ref }}