diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 81d789aeb..97f891575 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -126,7 +126,7 @@ jobs: cp MapboxGLAndroidSDKTestApp/build/outputs/apk/androidTest/drawable/release/MapboxGLAndroidSDKTestApp-drawable-release-androidTest.apk . - name: Create artifact for benchmark APKs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: github.ref != 'refs/heads/main' with: if-no-files-found: error @@ -184,7 +184,7 @@ jobs: echo "ANDROID_APP_ARN=${{ steps.upload-android-app.outputs.arn }}" >> uploads.env echo "ANDROID_TEST_ARN=${{ steps.upload-android-test.outputs.arn }}" >> uploads.env - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: github.ref == 'refs/heads/main' with: if-no-files-found: error @@ -200,7 +200,7 @@ jobs: working-directory: ./render-test/android - name: Store Render Test .apk files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: android-render-tests if-no-files-found: error @@ -209,7 +209,7 @@ jobs: ./render-test/android/RenderTests.apk - name: Store debug artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: debug-artifacts path: | diff --git a/.github/workflows/gh-pages-mdbook.yml b/.github/workflows/gh-pages-mdbook.yml index ffcc3c067..4fcfefc23 100644 --- a/.github/workflows/gh-pages-mdbook.yml +++ b/.github/workflows/gh-pages-mdbook.yml @@ -22,7 +22,7 @@ jobs: working-directory: docs/mdbook shell: bash run: mdbook build - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: book path: docs/mdbook/book/ diff --git a/.github/workflows/ios-ci.yml b/.github/workflows/ios-ci.yml index 961d129b3..9af823526 100644 --- a/.github/workflows/ios-ci.yml +++ b/.github/workflows/ios-ci.yml @@ -128,7 +128,7 @@ jobs: zip -r "$render_test_app_dir"/RenderTest.xctest.zip RenderTest.xctest echo render_test_artifacts_dir="$render_test_app_dir" >> "$GITHUB_ENV" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: matrix.renderer == 'legacy' with: name: ios-render-test @@ -157,7 +157,7 @@ jobs: zip -r "$ios_cpp_test_app_dir"/CppUnitTests.xctest.zip CppUnitTests.xctest echo ios_cpp_test_artifacts_dir="$ios_cpp_test_app_dir" >> "$GITHUB_ENV" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: matrix.renderer == 'legacy' with: name: ios-cpp-unit-tests @@ -179,7 +179,7 @@ jobs: cp MapLibre.xcframework/ios-arm64/MapLibre.framework/MapLibre MapLibre_dynamic - name: Upload size test as artifact (Bloaty) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: matrix.renderer == 'drawable' && github.event_name == 'pull_request' with: name: ios-size-test-files diff --git a/.github/workflows/linux-ci.yml b/.github/workflows/linux-ci.yml index d74a1ba3f..72d9e37f5 100644 --- a/.github/workflows/linux-ci.yml +++ b/.github/workflows/linux-ci.yml @@ -100,7 +100,7 @@ jobs: - name: Upload mbgl-render as artifact if: matrix.renderer == 'drawable' && github.event_name == 'pull_request' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: mbgl-render path: | @@ -108,7 +108,7 @@ jobs: - name: Upload mbgl-benchmark-runner as artifact if: matrix.renderer == 'drawable' && github.event_name == 'pull_request' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: mbgl-benchmark-runner path: | @@ -152,7 +152,7 @@ jobs: - name: Upload render test result if: always() && steps.render_test.outcome == 'failure' && matrix.renderer == 'drawable' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: render-test-result path: | @@ -213,7 +213,7 @@ jobs: echo coverage_report="$(bazel info output_path)"/_coverage/_coverage_report.dat >> "$GITHUB_ENV" - name: Upload coverage report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-report path: ${{ env.coverage_report }} diff --git a/.github/workflows/node-ci-mac.yml b/.github/workflows/node-ci-mac.yml index 769dbabd7..4f4181f0f 100644 --- a/.github/workflows/node-ci-mac.yml +++ b/.github/workflows/node-ci-mac.yml @@ -227,7 +227,7 @@ jobs: - name: Upload render test artifacts (MacOS) if: runner.os == 'MacOS' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: render-query-test-results path: metrics/macos-xcode11-release-style.html diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 3c847505c..d50b8f98f 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -252,7 +252,7 @@ jobs: - name: Upload render test artifacts (MacOS) if: runner.os == 'MacOS' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: render-query-test-results path: metrics/macos-xcode11-release-style.html