diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4829341..6e6b99f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -147,8 +147,9 @@ build-apk: <<: *build_variables <<: *build_setup_steps script: - - echo "Building APK..." | tee -a "build-apk-$BUILD_VARIANT.log" - - bash -x scripts/ci-build.sh | tee -a "build-apk-$BUILD_VARIANT.log" + - BUILD_LOG_FILE="$CI_PROJECT_DIR/artifacts/logs/build-apk-$BUILD_VARIANT.log" + - echo "Building APK..." | tee -a "$BUILD_LOG_FILE" + - bash -x scripts/ci-build.sh | tee -a "$BUILD_LOG_FILE" artifacts: untracked: false when: always @@ -158,7 +159,7 @@ build-apk: paths: - $CI_PROJECT_DIR/artifacts/apk/**/* - $CI_PROJECT_DIR/artifacts/aar/**/* - - build-apk.log + - $CI_PROJECT_DIR/artifacts/logs/**/* rules: - if: $CI_PROJECT_NAMESPACE != "ironfox-oss" when: never @@ -187,8 +188,9 @@ build-bundle: <<: *build_variables <<: *build_setup_steps script: - - echo "Building Bundle..." | tee -a build-bundle.log - - bash -x scripts/ci-build.sh | tee -a build-bundle.log + - BUILD_LOG_FILE="$CI_PROJECT_DIR/artifacts/logs/build-bundle.log" + - echo "Building Bundle..." | tee -a "$BUILD_LOG_FILE" + - bash -x scripts/ci-build.sh | tee -a "$BUILD_LOG_FILE" artifacts: untracked: false when: always @@ -197,7 +199,7 @@ build-bundle: expire_in: "30 days" paths: - $CI_PROJECT_DIR/artifacts/apks/**/* - - build-bundle.log + - $CI_PROJECT_DIR/artifacts/logs/**/* rules: - if: $CI_PROJECT_NAMESPACE != "ironfox-oss" when: never