mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
Fix flatpak build step
This commit is contained in:
1 parent
9ac8af6639
commit
a6b516be15
1 file changed
+21
-20
+21
-20
@@ -78,6 +78,27 @@ jobs:
|
|||||||
path: bin/
|
path: bin/
|
||||||
retention-days: 0
|
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:
|
publish-latest-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref == 'refs/heads/port'
|
if: github.ref == 'refs/heads/port'
|
||||||
@@ -101,23 +122,3 @@ jobs:
|
|||||||
git tag --force ci-dev-build port
|
git tag --force ci-dev-build port
|
||||||
git push --force origin ci-dev-build
|
git push --force origin ci-dev-build
|
||||||
gh release upload --clobber ci-dev-build ci-release/*
|
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
|
|
||||||
Reference in new issue
Block a user