mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-19 23:51:41 +00:00
Made flatpak ci job upload bundle too
Convert git checkout to dir in flatpak manifest since otherwise some git operation fails. Set branch name to "ci" to avoid clashes with other installs.
This commit is contained in:
parent
e000d1de3f
commit
db61119ea1
12
.github/workflows/ci-main.yml
vendored
12
.github/workflows/ci-main.yml
vendored
@ -172,8 +172,16 @@ jobs:
|
||||
|
||||
- name: Flatpak
|
||||
run: |
|
||||
jq '.modules |= map(select(.name == "wesnoth").sources[0]+={"path":"."}) | ."build-options".env.FLATPAK_BUILDER_N_JOBS="2"' packaging/flatpak/org.wesnoth.Wesnoth.json > org.wesnoth.Wesnoth.json
|
||||
flatpak-builder --force-clean --disable-rofiles-fuse wesnoth-app org.wesnoth.Wesnoth.json
|
||||
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 > org.wesnoth.Wesnoth.json
|
||||
flatpak-builder --force-clean --default-branch=ci --disable-rofiles-fuse wesnoth-app org.wesnoth.Wesnoth.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
|
||||
- name: Upload flatpak bundle
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Flatpak-Bundle
|
||||
path: |
|
||||
wesnoth.flatpak
|
||||
|
||||
translations:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user