From 2803f4a01a102b242fa64243ea74b115f3b3117c Mon Sep 17 00:00:00 2001 From: Christopher Watford Date: Sat, 8 Jul 2023 20:06:44 -0400 Subject: [PATCH] Bump actions/upload-artifact to v3 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/code-coverage.yml | 2 +- .github/workflows/nightly-ci.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c804e6bb70..e3eebba16e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,7 +63,7 @@ jobs: # If the build step fails, try to upload any test logs in case it was a unit test failure. # The logs will be relative to the ./megamek directory. - name: Upload Test Logs on Failure - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v3 if: failure() with: name: cd-failure-logs @@ -92,14 +92,14 @@ jobs: # Put the Windows Release in an artifact # NB: Due to a GitHub Actions limitation we won't know what the filename is in order to display it somewhere. - name: Upload Windows Release - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v3 with: name: mm-release-win-${{ matrix.java-distribution }}-jdk${{ matrix.java-version }} path: ./megamek/megamek/build/distributions/*.zip # Put the non-Windows release in an artifact - name: Upload Nix/Mac Release - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v3 with: name: mm-release-nix-mac-${{ matrix.java-distribution }}-jdk${{ matrix.java-version }} path: ./megamek/megamek/build/distributions/*.tar diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index af60d25ada0..f141a58a3bf 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -63,7 +63,7 @@ jobs: # # The logs will be relative to the ./megamek directory. - name: Upload Test Logs on Failure - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v3 if: failure() with: name: cd-failure-logs diff --git a/.github/workflows/nightly-ci.yml b/.github/workflows/nightly-ci.yml index cdaf7e091fa..89c5227bcc8 100644 --- a/.github/workflows/nightly-ci.yml +++ b/.github/workflows/nightly-ci.yml @@ -55,7 +55,7 @@ jobs: build-root-directory: megamek - name: Upload Test Logs on Failure - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v3 if: failure() with: name: ${{ matrix.os }}-${{ matrix.java-distribution }}-jdk${{ matrix.java-version }}-ci-failure-logs @@ -65,7 +65,7 @@ jobs: # # NB: Due to a GitHub Actions limitation we won't know what the filename is in order to display it somewhere. - name: Upload Nix/Mac Releases - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v3 if: always() && matrix.os == 'ubuntu-latest' with: name: mm-release-nix-mac-${{ matrix.java-distribution }}-jdk${{ matrix.java-version }} @@ -75,7 +75,7 @@ jobs: # # NB: Due to a GitHub Actions limitation we won't know what the filename is in order to display it somewhere. - name: Upload Windows Release - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v3 if: always() && matrix.os == 'windows-latest' with: name: mm-release-win-${{ matrix.java-distribution }}-jdk${{ matrix.java-version }}