Skip to content

Commit

Permalink
update workflow with cache
Browse files Browse the repository at this point in the history
  • Loading branch information
qingzhuozhen committed Feb 23, 2024
1 parent cb5563a commit 29418c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'zulu'

- name: Checkout
uses: actions/checkout@v4
cache: 'gradle'

- name: Setup Docs
run: ./gradlew dokkaHtmlMultiModule
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
with:
java-version: '11'
distribution: 'zulu'
cache: 'gradle'

- name: Build
run: ./gradlew build
Expand Down

0 comments on commit 29418c8

Please sign in to comment.