Skip to content

Commit

Permalink
Use gradle/actions/setup-gradle v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Jan 27, 2024
1 parent 9340cad commit c8f2eb8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/grails-joint-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/setup-java@v4
with:
java-version: 11
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v3
- name: Env

This comment has been minimized.

Copy link
@daniellansun

daniellansun Jan 27, 2024

Contributor

Some are Env, some are env, so I am not sure which one is correct.

This comment has been minimized.

Copy link
@Goooler

Goooler Jan 27, 2024

Author Member

env: is settings env variables in GHA; this step is for running env cli.

This comment has been minimized.

Copy link
@daniellansun

daniellansun Jan 27, 2024

Contributor

Well... I want to say, some name is env as follows, and some name is Env as the above. Both env and Env are correct?

c8f2eb8#diff-5f778676b2e1d6d97f7a3f85423aace6e8d7cca51a88ab144288c39f80c8ebbcR42

This comment has been minimized.

Copy link
@Goooler

Goooler Jan 27, 2024

Author Member

Step names are inconsequential.

This comment has been minimized.

Copy link
@daniellansun

daniellansun Jan 27, 2024

Contributor

Understood.

run: env

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/groovy-build-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
distribution: 'zulu'
java-version: 21
check-latest: true
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v3
- name: Test with Gradle
run: ./gradlew -Pcoverage=true jacocoAllReport
timeout-minutes: 60
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/groovy-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
distribution: 'zulu'
java-version: ${{ matrix.java }}
check-latest: true
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v3
- name: Test with Gradle
run: ./gradlew test
timeout-minutes: 60
Expand All @@ -58,7 +58,7 @@ jobs:
distribution: 'zulu'
java-version: ${{ matrix.java }}
check-latest: true
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v3
- name: Test with Gradle
run: ./gradlew test
timeout-minutes: 60
Expand All @@ -85,7 +85,7 @@ jobs:
distribution: 'zulu'
java-version: 21
check-latest: true
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v3
- name: Test with Gradle
run: ./gradlew test -Ptarget.java.home=/home/runner/openjdk
timeout-minutes: 60
2 changes: 1 addition & 1 deletion .github/workflows/groovy-rat-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
distribution: 'zulu'
java-version: 21
check-latest: true
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v3
- name: Check licenses with rat
run: ./gradlew rat
timeout-minutes: 60
2 changes: 1 addition & 1 deletion .github/workflows/micronaut-joint-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- uses: actions/setup-java@v4
with:
java-version: 11
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v3
- name: env
run: env

Expand Down

0 comments on commit c8f2eb8

Please sign in to comment.