Skip to content

Commit 68ff87a

Browse files
committed
Update JDK versions in docs build
1 parent 772acf2 commit 68ff87a

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,20 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 5
23+
- name: Set Up Java
24+
uses: actions/setup-java@v4
25+
with:
26+
distribution: 'liberica'
27+
java-version: |
28+
17
29+
24
2330
- name: Set Up Gradle
24-
uses: spring-io/spring-gradle-build-action@v2
31+
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
2532
with:
26-
java-version: '17'
27-
distribution: temurin
33+
cache-read-only: false
2834
- name: Set up refname build
2935
if: github.event.inputs.build-refname
3036
run: |
@@ -36,14 +42,14 @@ jobs:
3642
- name: Copy the cache to be included in the site
3743
run: cp -rf build/antora/inject-collector-cache-config-extension/.cache build/site/
3844
- name: Publish Docs
39-
uses: spring-io/spring-doc-actions/[email protected].11
45+
uses: spring-io/spring-doc-actions/[email protected].20
4046
with:
4147
docs-username: ${{ secrets.DOCS_USERNAME }}
4248
docs-host: ${{ secrets.DOCS_HOST }}
4349
docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }}
4450
docs-ssh-host-key: ${{ secrets.DOCS_SSH_HOST_KEY }}
4551
- name: Bust Clouflare Cache
46-
uses: spring-io/spring-doc-actions/[email protected].11
52+
uses: spring-io/spring-doc-actions/[email protected].20
4753
with:
4854
context-root: spring-graphql
4955
cloudflare-zone-id: ${{ secrets.CLOUDFLARE_ZONE_ID }}

0 commit comments

Comments
 (0)