Skip to content

Commit 11c9373

Browse files
committed
Polish
1 parent 6f8db2c commit 11c9373

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy Docs
1+
name: Build and Deploy Documentation
22
run-name: ${{ format('{0} ({1})', github.workflow, github.event.inputs.build-refname || 'all') }}
33
on:
44
workflow_dispatch:
@@ -12,19 +12,24 @@ env:
1212
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
1313
permissions: read-all
1414
jobs:
15-
build:
15+
build-and-deploy-docs:
16+
name: Build and Deploy Documentation
1617
if: github.repository_owner == 'spring-projects'
1718
runs-on: ubuntu-latest
1819
steps:
19-
- name: Checkout
20-
uses: actions/checkout@v3
20+
- name: Check Out
21+
uses: actions/checkout@v4
2122
with:
2223
fetch-depth: 5
23-
- name: Set Up Gradle
24-
uses: spring-io/spring-gradle-build-action@v2
24+
- name: Set Up Java
25+
uses: actions/setup-java@v4
2526
with:
27+
distribution: 'liberica'
2628
java-version: '17'
27-
distribution: temurin
29+
- name: Set Up Gradle
30+
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
31+
with:
32+
cache-read-only: false
2833
- name: Set up refname build
2934
if: github.event.inputs.build-refname
3035
run: |
@@ -42,7 +47,7 @@ jobs:
4247
docs-host: ${{ secrets.DOCS_HOST }}
4348
docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }}
4449
docs-ssh-host-key: ${{ secrets.DOCS_SSH_HOST_KEY }}
45-
- name: Bust Clouflare Cache
50+
- name: Bust Cloudflare Cache
4651
uses: spring-io/spring-doc-actions/[email protected]
4752
with:
4853
context-root: spring-framework

0 commit comments

Comments
 (0)