Fix flatpak build step

This commit is contained in:
Florian Piesche committed 2024-08-30 01:47:13 +01:00
1 parent 9ac8af6639
commit a6b516be15
1 file changed
+21 -20
+21 -20
View File
@@ -78,6 +78,27 @@ jobs:
path: bin/
retention-days: 0
build-flatpak-bundle:
name: "Build flatpak bundle"
runs-on: ubuntu-latest
needs: [build-i686-linux]
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: pd-i686-linux
path: bin/
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
build-bundle: true
bundle: io.github.fgsfdsfgs.perfect_dark.flatpak
manifest-path: dist/linux/io.github.fgsfdsfgs.perfect_dark.yml
cache-key: flatpak-builder-${{ github.sha }}
upload-artifact: true
publish-latest-build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/port'
@@ -101,23 +122,3 @@ jobs:
git tag --force ci-dev-build port
git push --force origin ci-dev-build
gh release upload --clobber ci-dev-build ci-release/*
build-flatpak-bundle:
name: "Build flatpak bundle"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: pd-i686-linux
path: bin/
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
build-bundle: true
bundle: io.github.fgsfdsfgs.perfect_dark.flatpak
manifest-path: dist/linux/io.github.fgsfdsfgs.perfect_dark.yml
cache-key: flatpak-builder-${{ github.sha }}
upload-artifact: true