diff --git a/.github/workflows/check-supported-versions.yaml b/.github/workflows/check-supported-versions.yaml index 78aba7433a11..ab3ff1c95031 100644 --- a/.github/workflows/check-supported-versions.yaml +++ b/.github/workflows/check-supported-versions.yaml @@ -24,7 +24,7 @@ jobs: uses: actions/checkout@v2 - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3.5.1 with: distribution: 'temurin' java-version: ${{ matrix.java }} diff --git a/.github/workflows/gradle-test.yaml b/.github/workflows/gradle-test.yaml index c6f6f495ab17..017499981d44 100644 --- a/.github/workflows/gradle-test.yaml +++ b/.github/workflows/gradle-test.yaml @@ -34,7 +34,7 @@ jobs: - samples/client/petstore/java/okhttp-gson steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3.5.1 with: distribution: 'temurin' java-version: 11 diff --git a/.github/workflows/openapi-generator.yaml b/.github/workflows/openapi-generator.yaml index b7d6f0fedb9b..119becf26f78 100644 --- a/.github/workflows/openapi-generator.yaml +++ b/.github/workflows/openapi-generator.yaml @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3.5.1 with: java-version: 8 distribution: 'temurin' @@ -53,7 +53,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3.5.1 with: java-version: 8 distribution: 'temurin' @@ -88,7 +88,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3.5.1 with: java-version: 8 distribution: 'temurin' @@ -127,7 +127,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3.5.1 with: java-version: 8 distribution: 'temurin' @@ -162,7 +162,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3.5.1 with: java-version: 11 distribution: 'temurin' @@ -195,7 +195,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3.5.1 with: java-version: 11 distribution: 'temurin' diff --git a/.github/workflows/samples-dart.yaml b/.github/workflows/samples-dart.yaml index 5efe3b6b686f..486331f4f15f 100644 --- a/.github/workflows/samples-dart.yaml +++ b/.github/workflows/samples-dart.yaml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3.5.1 with: distribution: 'temurin' java-version: 8 @@ -51,7 +51,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3.5.1 with: distribution: 'temurin' java-version: 8 diff --git a/.github/workflows/samples-kotlin.yaml b/.github/workflows/samples-kotlin.yaml index 83d748e9f06e..5107b8a13a56 100644 --- a/.github/workflows/samples-kotlin.yaml +++ b/.github/workflows/samples-kotlin.yaml @@ -43,7 +43,7 @@ jobs: - samples/client/petstore/kotlin-uppercase-enum steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3.5.1 with: distribution: 'temurin' java-version: 8 diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 63f622d66e10..d37d78d09236 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3.5.1 with: distribution: 'temurin' java-version: 11