Skip to content

Commit

Permalink
Build cache and checkout submodules for publish
Browse files Browse the repository at this point in the history
It would be really helpful if I could validate GitHub actions locally :P
  • Loading branch information
andrewaylett committed Apr 4, 2022
1 parent 906b495 commit 0f05902
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ jobs:
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
with:
arguments: |
--build-cache
build
-Denterprise.tos.agree=yes
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
Expand All @@ -33,6 +35,7 @@ jobs:
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
with:
arguments: |
--build-cache
build
-Denterprise.tos.agree=yes
Expand All @@ -42,6 +45,7 @@ jobs:
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
with:
arguments: |
--build-cache
publish
-Denterprise.tos.agree=yes
env:
Expand Down

0 comments on commit 0f05902

Please sign in to comment.