Skip to content

Commit

Permalink
Update gradle/actions/setup-gradle to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Jan 29, 2024
1 parent ad7264d commit 3be008a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/gradle-ci.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
# Copyright (c) SRG SSR. All rights reserved.
# License information is available from the LICENSE file.
#
org.gradle.configuration-cache=false
org.gradle.daemon=false
20 changes: 15 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v3
with:
cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle; cp .github/gradle-ci.properties ~/.gradle/gradle.properties
- name: Run Android Lint
Expand All @@ -68,7 +70,9 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v3
with:
cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle; cp .github/gradle-ci.properties ~/.gradle/gradle.properties
- name: Run Detekt
Expand All @@ -92,7 +96,9 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v3
with:
cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle; cp .github/gradle-ci.properties ~/.gradle/gradle.properties
- name: Run Dependency Analysis
Expand Down Expand Up @@ -120,7 +126,9 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v3
with:
cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle; cp .github/gradle-ci.properties ~/.gradle/gradle.properties
- name: Run Unit Tests
Expand Down Expand Up @@ -165,7 +173,9 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
- uses: gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@v3
with:
cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle; cp .github/gradle-ci.properties ~/.gradle/gradle.properties
- name: Run Android Tests
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-rc-3-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 3be008a

Please sign in to comment.