Commit 703a1baf authored by Jordan Petridis's avatar Jordan Petridis 🌱

CI: Move repo export right before the bundle generation

parent 51fdad2a
......@@ -4,7 +4,7 @@ stages:
- review
variables:
BUNDLE: "org.gnome.Podcasts.${CI_COMMIT_REF_SHA}.flatpak"
BUNDLE: "org.gnome.Podcasts.${CI_COMMIT_SHA}.flatpak"
flatpak:
image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/rust_bundle:3.28"
......@@ -23,8 +23,6 @@ flatpak:
# Build the flatpak repo
- flatpak-builder --run app ${MANIFEST_PATH} meson --prefix=/app _build
- flatpak-builder --run app ${MANIFEST_PATH} ninja -C _build install
- flatpak-builder --finish-only app ${MANIFEST_PATH}
- flatpak build-export repo app
# Run the tests
- |
......@@ -38,6 +36,8 @@ flatpak:
# - flatpak-builder --run app ${MANIFEST_PATH} cargo test -- --test-threads=1 --ignored
# Create a flatpak bundle
- flatpak-builder --finish-only app ${MANIFEST_PATH}
- flatpak build-export repo app
- flatpak build-bundle repo ${BUNDLE} ${DBUS_ID}
artifacts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment