Skip to content

Commit 0c923ba

Browse files
Ian BirdIanDBird
Ian Bird
authored andcommitted
[Actions] Update release action when setting up gradle
1 parent 27c5444 commit 0c923ba

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/build.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
- name: Validate Gradle Wrapper
2525
uses: gradle/wrapper-validation-action@v3
2626

27-
- uses: gradle/gradle-build-action@v3
27+
- name: Setup Gradle
28+
uses: gradle/actions/setup-gradle@v3
2829

2930
- name: Build and run tests
3031
run: ./gradlew build

.github/workflows/release.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,8 @@ jobs:
4848
- name: Validate Gradle Wrapper
4949
uses: gradle/wrapper-validation-action@v1
5050

51-
- uses: gradle/gradle-build-action@v3
52-
with:
53-
# Disable writing to cache. Don't want to spoil the main cache
54-
cache-read-only: true
51+
- name: Setup Gradle
52+
uses: gradle/actions/setup-gradle@v3
5553

5654
- name: Get Snaptshot versions
5755
id: snapshotVersions

0 commit comments

Comments
 (0)