diff --git a/.github/workflows/maven-pr.yml b/.github/workflows/maven-pr.yml index 5eff6497..a0b7cd47 100644 --- a/.github/workflows/maven-pr.yml +++ b/.github/workflows/maven-pr.yml @@ -17,7 +17,7 @@ jobs: ${{ runner.os }}-maven- - name: Set up Java 11 - uses: actions/setup-java@v2.5.0 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 11 @@ -44,7 +44,7 @@ jobs: [ -f ~/.m2/repository/org/spigotmc/spigot/1.8-R0.1-SNAPSHOT/spigot-1.8-R0.1-SNAPSHOT.jar ] || java -jar BuildTools.jar --rev 1.8 - name: Set up Java 17 - uses: actions/setup-java@v2.5.0 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 diff --git a/.github/workflows/maven-push.yml b/.github/workflows/maven-push.yml index 3cd63b7a..f0e37e03 100644 --- a/.github/workflows/maven-push.yml +++ b/.github/workflows/maven-push.yml @@ -20,7 +20,7 @@ jobs: ${{ runner.os }}-maven- - name: Set up Java 17 - uses: actions/setup-java@v2.5.0 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17