File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
- name : Deploy Docs
1
+ name : Build and Deploy Documentation
2
2
run-name : ${{ format('{0} ({1})', github.workflow, github.event.inputs.build-refname || 'all') }}
3
3
on :
4
4
workflow_dispatch :
12
12
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
13
13
permissions : read-all
14
14
jobs :
15
- build :
15
+ build-and-deploy-docs :
16
+ name : Build and Deploy Documentation
16
17
if : github.repository_owner == 'spring-projects'
17
18
runs-on : ubuntu-latest
18
19
steps :
19
- - name : Checkout
20
- uses : actions/checkout@v3
20
+ - name : Check Out
21
+ uses : actions/checkout@v4
21
22
with :
22
23
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
25
26
with :
27
+ distribution : ' liberica'
26
28
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
28
33
- name : Set up refname build
29
34
if : github.event.inputs.build-refname
30
35
run : |
42
47
docs-host : ${{ secrets.DOCS_HOST }}
43
48
docs-ssh-key : ${{ secrets.DOCS_SSH_KEY }}
44
49
docs-ssh-host-key : ${{ secrets.DOCS_SSH_HOST_KEY }}
45
- - name : Bust Clouflare Cache
50
+ - name : Bust Cloudflare Cache
46
51
uses :
spring-io/spring-doc-actions/[email protected]
47
52
with :
48
53
context-root : spring-framework
You can’t perform that action at this time.
0 commit comments