Skip to content

Commit

Permalink
Update to Github Actions v4
Browse files Browse the repository at this point in the history
  • Loading branch information
UnlikePaladin committed Sep 28, 2024
1 parent fb681b2 commit 95ba136
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v2
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
- name: make gradle wrapper executable
Expand All @@ -33,13 +33,13 @@ jobs:
run: ./gradlew build
- name: capture fabric build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Fabric-Artifacts
path: fabric/build/libs/
- name: capture forge build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Forge-Artifacts
path: forge/build/libs/

0 comments on commit 95ba136

Please sign in to comment.