Skip to content

Commit

Permalink
Bump actions/upload-artifact to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
sixlettervariables committed Jul 9, 2023
1 parent fefd2f6 commit 2803f4a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit 2803f4a

Please sign in to comment.