Skip to content

Commit

Permalink
Fix cache command
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Agrawal committed Aug 21, 2020
1 parent 8a99f90 commit bb4a2c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: 14
- uses: burrunan/gradle-cache-action@v1
name: Cache .gradle
- name: Build with Gradle
run: ./gradlew build
uses: burrunan/gradle-cache-action@v1
with:
arguments: build
3 changes: 2 additions & 1 deletion .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
java-version: 14
- name: Build release with Gradle
uses: burrunan/gradle-cache-action@v1
arguments: build final -Prelease.version=${{ github.event.inputs.version }}
with:
arguments: build final -Prelease.version=${{ github.event.inputs.version }}
env:
PUBLISH_USERNAME: ${{ github.actor }}
PUBLISH_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit bb4a2c1

Please sign in to comment.