Set distribution channel for flatpak CI build

This commit is contained in:
Gunter Labes 2024-03-13 14:50:43 +01:00 committed by GitHub
parent 24a75ba95c
commit 13a1e44c64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -201,6 +201,7 @@ jobs:
run: |
# write to an ignored filename so the build is not marked as modified
jq '.modules |= map(select(.name == "wesnoth").sources[0]={"type":"dir","path":"."}) | ."build-options".env.FLATPAK_BUILDER_N_JOBS="2"' packaging/flatpak/org.wesnoth.Wesnoth.json > wesnoth-manifest.json
echo Flatpak > data/dist
flatpak-builder --force-clean --default-branch=ci --disable-rofiles-fuse wesnoth-app wesnoth-manifest.json
flatpak build-export export wesnoth-app ci
flatpak build-bundle export wesnoth.flatpak org.wesnoth.Wesnoth ci --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo