From b8676a5ba46c16874ca18e56a7bafaa335690b40 Mon Sep 17 00:00:00 2001 From: Felix Wang Date: Sun, 13 Aug 2023 18:48:30 -0700 Subject: [PATCH] ci: Upgrade `upload-artifact` Github Action (#3726) * Switch from `macos-10.15` to `macos-latest` Signed-off-by: Felix Wang * Upgrade `actions/upload-artifact@v2` to `actions/upload-artifact@v3` Signed-off-by: Felix Wang --------- Signed-off-by: Felix Wang --- .github/workflows/build_wheels.yml | 4 ++-- .github/workflows/java_master_only.yml | 2 +- .github/workflows/java_pr.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index acbb5fd377..a34be284d5 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -72,7 +72,7 @@ jobs: run: | python -m pip install build python -m build --wheel --outdir wheelhouse/ - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: wheels path: ./wheelhouse/*.whl @@ -105,7 +105,7 @@ jobs: - name: Build run: | python3 setup.py sdist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: wheels path: dist/* diff --git a/.github/workflows/java_master_only.yml b/.github/workflows/java_master_only.yml index 91656ad271..00d8e628c9 100644 --- a/.github/workflows/java_master_only.yml +++ b/.github/workflows/java_master_only.yml @@ -86,7 +86,7 @@ jobs: ${{ runner.os }}-ut-maven- - name: Test java run: make test-java-with-coverage - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: java-coverage-report path: ${{ github.workspace }}/docs/coverage/java/target/site/jacoco-aggregate/ diff --git a/.github/workflows/java_pr.yml b/.github/workflows/java_pr.yml index bf60d63ead..152ca64cdb 100644 --- a/.github/workflows/java_pr.yml +++ b/.github/workflows/java_pr.yml @@ -54,7 +54,7 @@ jobs: ${{ runner.os }}-ut-maven- - name: Test java run: make test-java-with-coverage - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: java-coverage-report path: ${{ github.workspace }}/docs/coverage/java/target/site/jacoco-aggregate/ @@ -172,7 +172,7 @@ jobs: - name: Run integration tests run: make test-java-integration - name: Save report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: failure() with: name: it-report