diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index 62eb6dfe..3af37f24 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up JDK ${{env.JAVA_VERSION}} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: ${{env.JAVA_VERSION}} @@ -124,7 +124,7 @@ jobs: run: curl -sLo ${{ runner.temp }}/${{ matrix.jdk-suffix }} ${{ env.liberica-url }} if: ${{ runner.os != 'Linux' }} - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: java-version: ${{env.JAVA_VERSION}} distribution: jdkfile diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index f1a8cee3..188c3175 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -27,7 +27,7 @@ jobs: fetch-depth: 0 # Shallow clone - name: Set up JDK 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 21