Skip to content

Commit

Permalink
Enable dependency caching in Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
oehme committed Nov 14, 2020
1 parent 48f02c4 commit 45fd1b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
uses: eskatos/gradle-command-action@v1
with:
arguments: build --info
dependencies-cache-enabled: true
- name: Release on Tag
if: startsWith(github.ref, 'refs/tags/v')
uses: eskatos/gradle-command-action@v1
Expand All @@ -32,3 +33,4 @@ jobs:
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD }}
with:
arguments: release --info "-PreleaseVersion=${{ steps.get_version.outputs.version }}"
dependencies-cache-enabled: true

0 comments on commit 45fd1b0

Please sign in to comment.