Use --jobs instead of adjusting the manifest
This commit is contained in:
parent
3df31c4a0c
commit
e5c741a296
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci-main.yml
vendored
4
.github/workflows/ci-main.yml
vendored
|
@ -200,8 +200,8 @@ jobs:
|
|||
- name: Flatpak
|
||||
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
|
||||
flatpak-builder --force-clean --default-branch=ci --disable-rofiles-fuse wesnoth-app wesnoth-manifest.json
|
||||
jq '.modules |= map(select(.name == "wesnoth").sources[0]={type:"dir",path:"."})' packaging/flatpak/org.wesnoth.Wesnoth.json > wesnoth-manifest.json
|
||||
flatpak-builder --force-clean --default-branch=ci --disable-rofiles-fuse --jobs=2 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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue