diff --git a/.github/workflows/check-supported-versions.yaml b/.github/workflows/check-supported-versions.yaml index 78aba7433a11..6b69113d6273 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.4.1 with: distribution: 'temurin' java-version: ${{ matrix.java }} diff --git a/.github/workflows/gradle-test.yaml b/.github/workflows/gradle-test.yaml index c6f6f495ab17..490aa2a8b599 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.4.1 with: distribution: 'temurin' java-version: 11 diff --git a/.github/workflows/openapi-generator.yaml b/.github/workflows/openapi-generator.yaml index 56958aa515b1..08f5b8f96d32 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.4.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.4.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.4.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.4.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.4.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.4.1 with: java-version: 11 distribution: 'temurin' diff --git a/.github/workflows/samples-dart.yaml b/.github/workflows/samples-dart.yaml index 5efe3b6b686f..488529e810ed 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.4.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.4.1 with: distribution: 'temurin' java-version: 8 diff --git a/.github/workflows/samples-kotlin.yaml b/.github/workflows/samples-kotlin.yaml index ce20f98a3464..5027d5c3fe71 100644 --- a/.github/workflows/samples-kotlin.yaml +++ b/.github/workflows/samples-kotlin.yaml @@ -44,7 +44,7 @@ jobs: - samples/client/petstore/kotlin-array-simple-string steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3.4.1 with: distribution: 'temurin' java-version: 8 diff --git a/.github/workflows/samples-spring.yaml b/.github/workflows/samples-spring.yaml index d266c3584821..0bca8d901e8a 100644 --- a/.github/workflows/samples-spring.yaml +++ b/.github/workflows/samples-spring.yaml @@ -42,7 +42,7 @@ jobs: - samples/openapi3/server/petstore/springboot-delegate steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3.4.1 with: distribution: 'temurin' java-version: 8 diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 63f622d66e10..9e449220314f 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.4.1 with: distribution: 'temurin' java-version: 11