Skip to content

Commit

Permalink
Migrate from gradle-cache-action to setup-gradle (#82)
Browse files Browse the repository at this point in the history
burrunan/gradle-cache-action seems unmaintained, with the last release in August 2020.

gradle/actions/setup-gradle is the officially maintained by Gradle action that has been getting a lot of work done recently.

This also removes the build scans. We've never needed to use build scans in context with these jobs in the past. This could be changed in the future if necessary.

See deephaven/deephaven-core#5161
  • Loading branch information
devinrsmith authored Apr 4, 2024
1 parent 27fd4a6 commit 80e5bed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/branch-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ jobs:
.github/scripts/gradle-properties.sh >> gradle.properties
cat gradle.properties
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Assemble distribution
uses: burrunan/gradle-cache-action@v1
with:
job-id: build-server
arguments: --scan outputVersion server-jetty-app:assemble py-server:assemble
gradle-version: wrapper
run: ./gradlew outputVersion server-jetty-app:assemble py-server:assemble

- uses: actions/upload-artifact@v4
with:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/edge-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,11 @@ jobs:
.github/scripts/gradle-properties.sh >> gradle.properties
cat gradle.properties
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Assemble distribution
uses: burrunan/gradle-cache-action@v1
with:
job-id: build-server
arguments: --scan outputVersion server-jetty-app:assemble py-server:assemble
gradle-version: wrapper
run: ./gradlew outputVersion server-jetty-app:assemble py-server:assemble

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 80e5bed

Please sign in to comment.