Skip to content

Commit 7232e83

Browse files
committed
Fix failing build for docs
As of #35007, the auto-provisioning is disabled for Java runtimes in Gradle. This makes the build fail because Java 24 is required for building the docs whereas this action is setting up Java 17. This commit also upgrades other GitHub actions.
1 parent 91afab7 commit 7232e83

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
uses: actions/setup-java@v4
2626
with:
2727
distribution: 'liberica'
28-
java-version: '17'
28+
java-version: '24'
2929
- name: Set Up Gradle
30-
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
30+
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
3131
with:
3232
cache-read-only: false
3333
- name: Set up refname build
@@ -41,14 +41,14 @@ jobs:
4141
- name: Copy the cache to be included in the site
4242
run: cp -rf build/antora/inject-collector-cache-config-extension/.cache build/site/
4343
- name: Publish Docs
44-
uses: spring-io/spring-doc-actions/[email protected].16
44+
uses: spring-io/spring-doc-actions/[email protected].20
4545
with:
4646
docs-username: ${{ secrets.DOCS_USERNAME }}
4747
docs-host: ${{ secrets.DOCS_HOST }}
4848
docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }}
4949
docs-ssh-host-key: ${{ secrets.DOCS_SSH_HOST_KEY }}
5050
- name: Bust Cloudflare Cache
51-
uses: spring-io/spring-doc-actions/[email protected].16
51+
uses: spring-io/spring-doc-actions/[email protected].20
5252
with:
5353
context-root: spring-framework
5454
cloudflare-zone-id: ${{ secrets.CLOUDFLARE_ZONE_ID }}

0 commit comments

Comments
 (0)