diff --git a/.github/workflows/maven-pr.yml b/.github/workflows/maven-pr.yml index 42b22482..3dedef5e 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 8 - uses: actions/setup-java@v4.3.0 + uses: actions/setup-java@v4.5.0 with: distribution: "temurin" java-version: 8 @@ -38,7 +38,7 @@ jobs: [ -f ~/.m2/repository/org/spigotmc/spigot/1.12.2-R0.1-SNAPSHOT/spigot-1.12.2-R0.1-SNAPSHOT.jar ] || java -jar BuildTools.jar --rev 1.12.2 - name: Set up Java 11 - uses: actions/setup-java@v4.3.0 + uses: actions/setup-java@v4.5.0 with: distribution: "temurin" java-version: 11 @@ -57,7 +57,7 @@ jobs: [ -f ~/.m2/repository/org/spigotmc/spigot/1.16.5-R0.1-SNAPSHOT/spigot-1.16.5-R0.1-SNAPSHOT.jar ] || java -jar BuildTools.jar --rev 1.16.5 - name: Set up Java 17 - uses: actions/setup-java@v4.3.0 + uses: actions/setup-java@v4.5.0 with: distribution: "temurin" java-version: 17 @@ -77,7 +77,7 @@ jobs: [ -f ~/.m2/repository/org/spigotmc/spigot/1.20.4-R0.1-SNAPSHOT/spigot-1.20.4-R0.1-SNAPSHOT-remapped-mojang.jar ] || java -jar BuildTools.jar --rev 1.20.4 --remapped - name: Set up Java 21 - uses: actions/setup-java@v4.3.0 + uses: actions/setup-java@v4.5.0 with: distribution: "temurin" java-version: 21 diff --git a/.github/workflows/maven-push.yml b/.github/workflows/maven-push.yml index 8d5e0453..b3bbe8cb 100644 --- a/.github/workflows/maven-push.yml +++ b/.github/workflows/maven-push.yml @@ -23,7 +23,7 @@ jobs: ${{ runner.os }}-maven- - name: Set up Java - uses: actions/setup-java@v4.3.0 + uses: actions/setup-java@v4.5.0 with: distribution: "temurin" java-version: 21