diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 309d89f5fb4a8c734929dd5e429df9078e58708e..22cc2f23555ca4d6c9f2696bc97d9e14d142b358 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,8 +17,8 @@ flatpak:
   - flatpak install -y flathub org.gnome.Platform 45
   - flatpak install -y flathub org.gnome.Sdk 45
   - flatpak-builder --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}
-  - flatpak build app meson --prefix=/app ${MESON_ARGS} _build
-  - flatpak build app ninja -C _build install
+  - flatpak build app meson setup --prefix=/app ${MESON_ARGS} _build
+  - flatpak build app meson install -C _build
   - flatpak-builder --finish-only --repo=repo app ${MANIFEST_PATH}
   - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APP_ID}
   artifacts: