Try to fix flatpak upload issue

This commit is contained in:
Nicolas Werner 2023-04-14 21:06:07 +02:00
parent 559c5d6872
commit f8d7cfc67f
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -224,8 +224,7 @@ build-flatpak:
after_script: after_script:
- echo -e "\e[0Ksection_start:`date +%s`:upload_flatpak[collapsed=true]\r\e[0K\e[1m\e[95mUploading flatpak" - 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 - bash ./.ci/upload-nightly-gitlab.sh build-flatpak/nheko-${ARCH}.flatpak
- (cd ./scripts && ./upload-to-flatpak-repo.sh ../build-flatpak/repo) || true - (cd ./scripts && ./upload-to-flatpak-repo.sh ../build-flatpak/repo) || exit_code=$?
- (mkdir -p artifacts && cp build-flatpak/nheko-${ARCH}.flatpak artifacts/) || true
- echo -e "\e[0Ksection_end:`date +%s`:upload_flatpak\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:upload_flatpak\r\e[0K"
rules: rules:
- if : '$CI_PIPELINE_TRIGGERED == null' - if : '$CI_PIPELINE_TRIGGERED == null'
@ -235,7 +234,7 @@ build-flatpak:
- build-flatpak/.flatpak-builder/ - build-flatpak/.flatpak-builder/
artifacts: artifacts:
expose_as: 'flatpak' expose_as: 'flatpak'
paths: ['artifacts/nheko-${ARCH}.flatpak'] paths: ['build-flatpak/nheko-${ARCH}.flatpak']
name: flatpak-${CI_COMMIT_REF_NAME}-${VERSION}-${ARCH} name: flatpak-${CI_COMMIT_REF_NAME}-${VERSION}-${ARCH}
appimage-amd64: appimage-amd64: