summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-04-14 21:06:07 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-04-14 21:06:07 +0200
commitf8d7cfc67f60d9730bc8f02789334cdc9ebed9bb (patch)
treebe9f30a2b5b5e5f3d2098153f7d0508ee7b0deb9
parentSetting case insensitive sort is not necessary (diff)
downloadnheko-f8d7cfc67f60d9730bc8f02789334cdc9ebed9bb.tar.xz
Try to fix flatpak upload issue
-rw-r--r--.gitlab-ci.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 351cd282..5f0a4cf7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -224,8 +224,7 @@ build-flatpak:
   after_script:
     - echo -e "\e[0Ksection_start:`date +%s`:upload_flatpak[collapsed=true]\r\e[0K\e[1m\e[95mUploading flatpak"
     - bash ./.ci/upload-nightly-gitlab.sh build-flatpak/nheko-${ARCH}.flatpak
-    - (cd ./scripts && ./upload-to-flatpak-repo.sh ../build-flatpak/repo) || true
-    - (mkdir -p artifacts && cp build-flatpak/nheko-${ARCH}.flatpak artifacts/) || true
+    - (cd ./scripts && ./upload-to-flatpak-repo.sh ../build-flatpak/repo) || exit_code=$?
     - echo -e "\e[0Ksection_end:`date +%s`:upload_flatpak\r\e[0K"
   rules:
     - if : '$CI_PIPELINE_TRIGGERED == null'
@@ -235,7 +234,7 @@ build-flatpak:
       - build-flatpak/.flatpak-builder/
   artifacts:
     expose_as: 'flatpak'
-    paths: ['artifacts/nheko-${ARCH}.flatpak']
+    paths: ['build-flatpak/nheko-${ARCH}.flatpak']
     name: flatpak-${CI_COMMIT_REF_NAME}-${VERSION}-${ARCH}
 
 appimage-amd64: