diff --git a/.github/workflows/build-and-check.yml b/.github/workflows/build-and-check.yml index 2168c749..89ccc916 100644 --- a/.github/workflows/build-and-check.yml +++ b/.github/workflows/build-and-check.yml @@ -36,7 +36,7 @@ jobs: maximum-size: 8GB disk-root: "D:" - name: set up JDK - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java_version }} distribution: 'zulu' @@ -97,7 +97,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: 11 distribution: 'zulu' @@ -135,7 +135,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: set up JDK 1.8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: 8 distribution: 'zulu' diff --git a/.github/workflows/new-release.yml b/.github/workflows/new-release.yml index b65db229..c693be8a 100644 --- a/.github/workflows/new-release.yml +++ b/.github/workflows/new-release.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: set up JDK 1.8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: 8 distribution: 'zulu'