fix: broken CI artifact uploads

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
TheOneWithTheBraid 2023-05-29 19:19:28 +02:00
parent 6529ce0d0f
commit 56e1bb6bfd

View File

@ -359,13 +359,12 @@ upload_android:
extends: .release extends: .release
script: script:
- | - |
curl --fail-with-body --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/android/app-release.apk ${PACKAGE_REGISTRY_URL}/fluffychat.apk curl --fail-with-body --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/app/outputs/apk/release/app-release.apk ${PACKAGE_REGISTRY_URL}/fluffychat.apk
upload_web: upload_web:
extends: .release extends: .release
script: script:
# workaround bug of Flutter engine - tar czf package.tar.gz -C build/web/ .
- tar czf package.tar.gz --ignore-failed-read -C build/web/ .
- | - |
curl --fail-with-body --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file package.tar.gz ${PACKAGE_REGISTRY_URL}/fluffychat-web.tar.gz curl --fail-with-body --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file package.tar.gz ${PACKAGE_REGISTRY_URL}/fluffychat-web.tar.gz