Change from gradle-build-action
to setup-gradle
as recommended
This commit is contained in:
parent
1aa61cbc21
commit
ebdc720825
4 changed files with 10 additions and 4 deletions
3
.github/workflows/android.yml
vendored
3
.github/workflows/android.yml
vendored
|
@ -34,7 +34,8 @@ jobs:
|
|||
distribution: temurin
|
||||
java-version: 17
|
||||
|
||||
- uses: gradle/gradle-build-action@v3
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
|
||||
- name: Quality - Spotless
|
||||
run: ./gradlew spotlessCheck
|
||||
|
|
3
.github/workflows/codeql.yml
vendored
3
.github/workflows/codeql.yml
vendored
|
@ -23,7 +23,8 @@ jobs:
|
|||
distribution: temurin
|
||||
java-version: 17
|
||||
|
||||
- uses: gradle/gradle-build-action@v3
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
|
||||
- uses: github/codeql-action/init@v3
|
||||
with:
|
||||
|
|
5
.github/workflows/gradle-cache.yml
vendored
5
.github/workflows/gradle-cache.yml
vendored
|
@ -23,7 +23,10 @@ jobs:
|
|||
with:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
- uses: gradle/gradle-build-action@v3
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
with:
|
||||
gradle-home-cache-cleanup: true
|
||||
|
||||
- run: ./gradlew assembleDebug
|
||||
|
|
3
.github/workflows/markdown.yml
vendored
3
.github/workflows/markdown.yml
vendored
|
@ -20,7 +20,8 @@ jobs:
|
|||
distribution: temurin
|
||||
java-version: 17
|
||||
|
||||
- uses: gradle/gradle-build-action@v3
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
|
||||
- name: Quality - Spotless Markdown Check
|
||||
run: ./gradlew spotlessMarkdownCheck
|
||||
|
|
Loading…
Reference in a new issue