20
20
- name : " 📥 Source checkout"
21
21
uses : actions/checkout@v4
22
22
- name : " ➕ Setup Node"
23
- uses : actions/setup-node@v3
23
+ uses : actions/setup-node@v4
24
24
with :
25
- node-version : ' 18 '
25
+ node-version : ' 20 '
26
26
- name : " 🔎 Run validator"
27
27
run : |
28
28
npx @redocly/cli@latest lint data/api/*/*.yaml
34
34
- name : " 📥 Source checkout"
35
35
uses : actions/checkout@v4
36
36
- name : " ➕ Setup Python"
37
- uses : actions/setup-python@v4
37
+ uses : actions/setup-python@v5
38
38
with :
39
39
python-version : ' 3.9'
40
40
cache : ' pip'
51
51
runs-on : ubuntu-latest
52
52
steps :
53
53
- name : " 📥 Source checkout"
54
- uses : actions/checkout@v2
54
+ uses : actions/checkout@v4
55
55
- name : " ➕ Setup Python"
56
- uses : actions/setup-python@v4
56
+ uses : actions/setup-python@v5
57
57
with :
58
58
python-version : ' 3.9'
59
59
cache : ' pip'
70
70
runs-on : ubuntu-latest
71
71
steps :
72
72
- name : " 📥 Source checkout"
73
- uses : actions/checkout@v2
73
+ uses : actions/checkout@v4
74
74
- name : " ➕ Setup Python"
75
- uses : actions/setup-python@v4
75
+ uses : actions/setup-python@v5
76
76
with :
77
77
python-version : ' 3.9'
78
78
cache : ' pip'
@@ -114,7 +114,7 @@ jobs:
114
114
- name : " 📥 Source checkout"
115
115
uses : actions/checkout@v4
116
116
- name : " ➕ Setup Python"
117
- uses : actions/setup-python@v4
117
+ uses : actions/setup-python@v5
118
118
with :
119
119
python-version : ' 3.9'
120
120
cache : ' pip'
@@ -152,7 +152,7 @@ jobs:
152
152
-o spec/server-server-api/api.json
153
153
tar -czf openapi.tar.gz spec
154
154
- name : " 📤 Artifact upload"
155
- uses : actions/upload-artifact@v3
155
+ uses : actions/upload-artifact@v4
156
156
with :
157
157
name : openapi-artifact
158
158
path : openapi.tar.gz
@@ -166,15 +166,15 @@ jobs:
166
166
- name : " 📥 Source checkout"
167
167
uses : actions/checkout@v4
168
168
- name : " ➕ Setup Python"
169
- uses : actions/setup-python@v4
169
+ uses : actions/setup-python@v5
170
170
with :
171
171
python-version : ' 3.9'
172
172
- name : " ➕ Install towncrier"
173
173
run : " pip install 'towncrier'"
174
174
- name : " Generate changelog"
175
175
run : ./scripts/generate-changelog.sh vUNSTABLE
176
176
- name : " 📤 Artifact upload"
177
- uses : actions/upload-artifact@v3
177
+ uses : actions/upload-artifact@v4
178
178
with :
179
179
name : changelog-artifact
180
180
path : content/changelog/vUNSTABLE.md
@@ -187,11 +187,11 @@ jobs:
187
187
if : ${{ always() }}
188
188
steps :
189
189
- name : " ➕ Setup Node"
190
- uses : actions/setup-node@v3
190
+ uses : actions/setup-node@v4
191
191
with :
192
- node-version : ' 18 '
192
+ node-version : ' 20 '
193
193
- name : " ➕ Setup Hugo"
194
- uses : peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d
194
+ uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
195
195
with :
196
196
hugo-version : ' 0.113.0'
197
197
extended : true
@@ -203,7 +203,7 @@ jobs:
203
203
npm run get-proposals
204
204
- name : " 📥 Download generated changelog"
205
205
if : " needs.generate-changelog.result == 'success'"
206
- uses : actions/download-artifact@v3
206
+ uses : actions/download-artifact@v4
207
207
with :
208
208
name : changelog-artifact
209
209
path : content/changelog
@@ -214,7 +214,7 @@ jobs:
214
214
# https://spec.matrix.org/latest/client-server-api/api.json
215
215
# Works for /unstable/ and /v1.1/ as well.
216
216
- name : " 📥 Spec definition download"
217
- uses : actions/download-artifact@v3
217
+ uses : actions/download-artifact@v4
218
218
with :
219
219
name : openapi-artifact
220
220
- name : " 📝 Unpack the OpenAPI definitions in the right location"
@@ -224,7 +224,7 @@ jobs:
224
224
- name : " 📦 Tarball creation"
225
225
run : tar -czf spec.tar.gz spec
226
226
- name : " 📤 Artifact upload"
227
- uses : actions/upload-artifact@v3
227
+ uses : actions/upload-artifact@v4
228
228
with :
229
229
name : spec-artifact
230
230
path : spec.tar.gz
@@ -238,7 +238,7 @@ jobs:
238
238
uses : actions/checkout@v4
239
239
240
240
- name : " 📥 Fetch built spec"
241
- uses : actions/download-artifact@v3
241
+ uses : actions/download-artifact@v4
242
242
with :
243
243
name : spec-artifact
244
244
@@ -264,11 +264,11 @@ jobs:
264
264
if : ${{ startsWith(github.ref, 'refs/tags/') }}
265
265
steps :
266
266
- name : " ➕ Setup Node"
267
- uses : actions/setup-node@v3
267
+ uses : actions/setup-node@v4
268
268
with :
269
- node-version : ' 18 '
269
+ node-version : ' 20 '
270
270
- name : " ➕ Setup Hugo"
271
- uses : peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d
271
+ uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
272
272
with :
273
273
# Cannot build the spec with Hugo 0.125.0 because of https://github.com/google/docsy/issues/1930
274
274
hugo-version : ' 0.124.1'
@@ -286,7 +286,7 @@ jobs:
286
286
hugo --config config.toml,historical.toml --baseURL "/${GITHUB_REF/refs\/tags\//}" -d "spec"
287
287
288
288
- name : " 📥 Spec definition download"
289
- uses : actions/download-artifact@v3
289
+ uses : actions/download-artifact@v4
290
290
with :
291
291
name : openapi-artifact
292
292
- name : " 📝 Unpack the OpenAPI definitions in the right location"
@@ -296,7 +296,7 @@ jobs:
296
296
- name : " 📦 Tarball creation"
297
297
run : tar -czf spec-historical.tar.gz spec
298
298
- name : " 📤 Artifact upload"
299
- uses : actions/upload-artifact@v3
299
+ uses : actions/upload-artifact@v4
300
300
with :
301
301
name : spec-historical-artifact
302
302
path : spec-historical.tar.gz
0 commit comments