Skip to content

Commit

Permalink
[Actions] Update release action when setting up gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Bird committed May 2, 2024
1 parent 27c5444 commit dacff84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v3

- uses: gradle/gradle-build-action@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build and run tests
run: ./gradlew build
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ jobs:
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

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

- name: Get Snaptshot versions
id: snapshotVersions
Expand Down

0 comments on commit dacff84

Please sign in to comment.