diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 85bf280..08264a2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -17,17 +17,18 @@ jobs: steps: - name: Git checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: JDK setup - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 + uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 with: - distribution: 'zulu' - java-version: 11.0.7 + distribution: zulu + java-version: 21.0.3 - - name: Build and test - uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2 - with: - arguments: build + - name: Gradle setup + uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2 + + - name: Gradle build + run: ./gradlew build env: CI: true