Bump actions/upload-artifact from 2 to 4 (#1964)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2023-12-18 00:23:09 +01:00
committed by GitHub
parent 2a6f7c3ef3
commit 29126ecee0
6 changed files with 14 additions and 14 deletions

View File

@@ -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: |

View File

@@ -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/

View File

@@ -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

View File

@@ -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 }}

View File

@@ -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

View File

@@ -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