31
31
steps :
32
32
33
33
- name : " Checkout ${{ github.ref }} branch in ${{ github.repository }} repository."
34
- uses : actions/checkout@v3
34
+ uses : actions/checkout@v4
35
35
with :
36
36
submodules : true
37
37
51
51
run : fontcustom compile
52
52
53
53
- name : " Upload 'iconfont' artifact."
54
- uses : actions/upload-artifact@v3
54
+ uses : actions/upload-artifact@v4
55
55
with :
56
56
name : ' iconfont'
57
57
path : |
@@ -74,15 +74,15 @@ jobs:
74
74
75
75
- name : " Retrieve GitHub Pages configuration."
76
76
id : pages
77
- uses : actions/configure-pages@v3
77
+ uses : actions/configure-pages@v4
78
78
79
79
- name : " Build _site with Jekyll."
80
80
run : bundle exec jekyll build --trace --baseurl "${{ steps.pages.outputs.base_path }}"
81
81
env :
82
82
JEKYLL_ENV : production
83
83
84
84
- name : " Upload 'github-pages' artifact."
85
- uses : actions/upload-pages-artifact@v2
85
+ uses : actions/upload-pages-artifact@v3
86
86
with :
87
87
path : _site/
88
88
@@ -105,7 +105,7 @@ jobs:
105
105
steps :
106
106
- name : " Deploy to GitHub Pages"
107
107
id : deployment
108
- uses : actions/deploy-pages@v2
108
+ uses : actions/deploy-pages@v4
109
109
110
110
111
111
cache :
@@ -133,7 +133,7 @@ jobs:
133
133
134
134
- name : " Checkout ${{ steps.params.outputs.sha }} commit in ${{ github.repository }} repository."
135
135
if : steps.cache.outputs.cache-hit != 'true'
136
- uses : actions/checkout@v3
136
+ uses : actions/checkout@v4
137
137
with :
138
138
submodules : true
139
139
ref : ${{ steps.params.outputs.sha }}
@@ -166,7 +166,7 @@ jobs:
166
166
- name : " Retrieve GitHub Pages configuration."
167
167
if : steps.cache.outputs.cache-hit != 'true'
168
168
id : pages
169
- uses : actions/configure-pages@v3
169
+ uses : actions/configure-pages@v4
170
170
171
171
- name : " Build _site with Jekyll."
172
172
if : steps.cache.outputs.cache-hit != 'true'
@@ -179,7 +179,7 @@ jobs:
179
179
# Move cached files from cache to artifacts, so they can be used in other jobs.
180
180
# It seems the job id/context is used to create the "cache version" and it always mismatches.
181
181
# if: steps.cache.outputs.cache-hit != 'true'
182
- uses : actions/upload-artifact@v3
182
+ uses : actions/upload-artifact@v4
183
183
with :
184
184
name : ' github-pages-base'
185
185
path : _site/
@@ -204,7 +204,7 @@ jobs:
204
204
steps :
205
205
206
206
- name : " Download base reference."
207
- uses : actions/download-artifact@v3
207
+ uses : actions/download-artifact@v4
208
208
with :
209
209
name : ' github-pages-base'
210
210
path : github-pages-base
@@ -219,7 +219,7 @@ jobs:
219
219
rm assets/fonts/iconfont.woff2
220
220
221
221
- name : " Download just-built artifact."
222
- uses : actions/download-artifact@v3
222
+ uses : actions/download-artifact@v4
223
223
with :
224
224
name : ' github-pages'
225
225
path : github-pages-head
0 commit comments