Skip to content

Commit

Permalink
ci: Build flatpak-builder against latest baseapp
Browse files Browse the repository at this point in the history
(cherry picked from commit 2338049)
  • Loading branch information
bbhtt committed Sep 30, 2024
1 parent ff933a8 commit 5353143
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
- name: Build org.flatpak.Builder.BaseApp
run: |
jq '."base-version" = "localtest"' org.flatpak.Builder.BaseApp.json >> org.flatpak.Builder.BaseApp-modified.json
runtime_version="$(jq '."runtime-version"' org.flatpak.Builder.BaseApp.json)"
echo "BASEAPP_RUNTIME_VERSION=${runtime_version}" >> $GITHUB_ENV
git submodule update --init --recursive
flatpak-builder --verbose --user --sandbox --force-clean --repo=repo \
--install-deps-from=flathub --default-branch=localtest --ccache \
Expand All @@ -42,9 +44,10 @@ jobs:
git clone --depth=1 --branch master --recursive --single-branch https://github.com/flathub/org.flatpak.Builder.git
git submodule update --init --recursive
cd org.flatpak.Builder
jq '."runtime-version" = $ENV.BASEAPP_RUNTIME_VERSION | ."base-version" = "localtest"' org.flatpak.Builder.json >> org.flatpak.Builder-modified.json
flatpak-builder --verbose --user --sandbox --force-clean --repo=repo \
--install-deps-from=flathub --default-branch=localtest --ccache \
--install builddir org.flatpak.Builder.json
--install builddir org.flatpak.Builder-modified.json
- name: Check if org.flatpak.Builder launches
run: |
Expand Down

0 comments on commit 5353143

Please sign in to comment.