Skip to content

Commit bfa3010

Browse files
committed
[runtimes] Reduce workflow artifact retention
1 parent 3ffb005 commit bfa3010

5 files changed

Lines changed: 43 additions & 2 deletions

File tree

‎.github/workflows/format-check-dart.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,5 @@ jobs:
6161
uses: actions/upload-artifact@v4
6262
with:
6363
name: dart-format-diff
64-
path: dart-format-diff/
64+
path: dart-format-diff/
65+
retention-days: 1

‎.github/workflows/spine-cpp-compatibility.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ jobs:
100100
with:
101101
name: test-output-files-${{ matrix.os }}
102102
path: tests/output/
103-
retention-days: 7
103+
retention-days: 1

‎.github/workflows/spine-godot-extension-v4.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
with:
4848
name: gdextension-windows-${{ env.GODOT_TAG }}
4949
path: spine-godot/example-v4-extension/bin/windows/*.dll
50+
retention-days: 1
5051

5152
build-linux-x86_64:
5253
runs-on: ubuntu-22.04
@@ -74,6 +75,7 @@ jobs:
7475
with:
7576
name: gdextension-linux-x86_64-${{ env.GODOT_TAG }}
7677
path: spine-godot/example-v4-extension/bin/linux/*.so
78+
retention-days: 1
7779

7880
build-macos:
7981
runs-on: macos-latest
@@ -96,6 +98,7 @@ jobs:
9698
with:
9799
name: gdextension-macos-${{ env.GODOT_TAG }}
98100
path: spine-godot/example-v4-extension/bin/macos/**/*
101+
retention-days: 1
99102

100103
build-ios:
101104
runs-on: macos-latest
@@ -118,6 +121,7 @@ jobs:
118121
with:
119122
name: gdextension-ios-${{ env.GODOT_TAG }}
120123
path: spine-godot/example-v4-extension/bin/ios/**/*
124+
retention-days: 1
121125

122126
build-android:
123127
runs-on: ubuntu-latest
@@ -161,6 +165,7 @@ jobs:
161165
with:
162166
name: gdextension-android-${{ env.GODOT_TAG }}
163167
path: spine-godot/example-v4-extension/bin/android/*.so
168+
retention-days: 1
164169

165170
build-web:
166171
runs-on: ubuntu-latest
@@ -188,6 +193,7 @@ jobs:
188193
with:
189194
name: gdextension-web-${{ env.GODOT_TAG }}
190195
path: spine-godot/example-v4-extension/bin/web/*.wasm
196+
retention-days: 1
191197

192198
upload-to-s3:
193199
needs: [build-windows, build-linux-x86_64, build-macos, build-ios, build-android, build-web]

‎.github/workflows/spine-godot-v4.yml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
with:
6464
name: ${{ format('{0}-{1}{2}.zip', 'godot-editor-windows', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
6565
path: spine-godot/godot/bin/**/*
66+
retention-days: 1
6667

6768
godot-editor-linux:
6869
runs-on: ubuntu-22.04
@@ -87,6 +88,7 @@ jobs:
8788
with:
8889
name: ${{ format('{0}-{1}{2}.zip', 'godot-editor-linux', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
8990
path: spine-godot/godot/bin/**/*
91+
retention-days: 1
9092

9193
godot-editor-macos:
9294
runs-on: macos-latest
@@ -113,6 +115,7 @@ jobs:
113115
with:
114116
name: ${{ format('{0}-{1}{2}.zip', 'godot-editor-macos', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
115117
path: spine-godot/godot/bin/godot-editor-macos.zip
118+
retention-days: 1
116119

117120
godot-template-ios:
118121
runs-on: macos-latest
@@ -137,6 +140,7 @@ jobs:
137140
with:
138141
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-ios', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
139142
path: spine-godot/godot/bin/ios.zip
143+
retention-days: 1
140144

141145
godot-template-macos:
142146
runs-on: macos-latest
@@ -159,6 +163,7 @@ jobs:
159163
with:
160164
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-macos', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
161165
path: spine-godot/godot/bin/macos.zip
166+
retention-days: 1
162167

163168
godot-template-linux:
164169
runs-on: ubuntu-22.04
@@ -182,12 +187,14 @@ jobs:
182187
with:
183188
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-linux-debug', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
184189
path: spine-godot/godot/bin/linux_debug.x86_64
190+
retention-days: 1
185191

186192
- name: Upload artifacts release
187193
uses: actions/upload-artifact@v4
188194
with:
189195
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-linux-release', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
190196
path: spine-godot/godot/bin/linux_release.x86_64
197+
retention-days: 1
191198

192199
godot-template-windows:
193200
runs-on: windows-latest
@@ -210,12 +217,14 @@ jobs:
210217
with:
211218
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-windows-debug', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
212219
path: spine-godot/godot/bin/windows_debug_x86_64.exe
220+
retention-days: 1
213221

214222
- name: Upload artifacts release
215223
uses: actions/upload-artifact@v4
216224
with:
217225
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-windows-release', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
218226
path: spine-godot/godot/bin/windows_release_x86_64.exe
227+
retention-days: 1
219228

220229
godot-template-android:
221230
runs-on: ubuntu-latest
@@ -252,18 +261,21 @@ jobs:
252261
with:
253262
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-android-debug', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
254263
path: spine-godot/godot/bin/android_debug.apk
264+
retention-days: 1
255265

256266
- name: Upload artifacts release
257267
uses: actions/upload-artifact@v4
258268
with:
259269
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-android-release', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
260270
path: spine-godot/godot/bin/android_release.apk
271+
retention-days: 1
261272

262273
- name: Upload artifacts source
263274
uses: actions/upload-artifact@v4
264275
with:
265276
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-android-source', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
266277
path: spine-godot/godot/bin/android_source.zip
278+
retention-days: 1
267279

268280
godot-template-web:
269281
runs-on: ubuntu-latest
@@ -297,48 +309,56 @@ jobs:
297309
with:
298310
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-web-debug', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
299311
path: spine-godot/godot/bin/web_debug.zip
312+
retention-days: 1
300313

301314
- name: Upload artifacts release
302315
uses: actions/upload-artifact@v4
303316
with:
304317
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-web-release', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
305318
path: spine-godot/godot/bin/web_release.zip
319+
retention-days: 1
306320

307321
- name: Upload artifacts no threads debug
308322
uses: actions/upload-artifact@v4
309323
with:
310324
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-web-nothreads-debug', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
311325
path: spine-godot/godot/bin/web_nothreads_debug.zip
326+
retention-days: 1
312327

313328
- name: Upload artifacts no threads release
314329
uses: actions/upload-artifact@v4
315330
with:
316331
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-web-nothreads-release', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
317332
path: spine-godot/godot/bin/web_nothreads_release.zip
333+
retention-days: 1
318334

319335
- name: Upload artifacts dlink debug
320336
uses: actions/upload-artifact@v4
321337
with:
322338
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-web-dlink-debug', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
323339
path: spine-godot/godot/bin/web_dlink_debug.zip
340+
retention-days: 1
324341

325342
- name: Upload artifacts dlink release
326343
uses: actions/upload-artifact@v4
327344
with:
328345
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-web-dlink-release', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
329346
path: spine-godot/godot/bin/web_dlink_release.zip
347+
retention-days: 1
330348

331349
- name: Upload artifacts dlink nothreads debug
332350
uses: actions/upload-artifact@v4
333351
with:
334352
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-web-dlink-nothreads-debug', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
335353
path: spine-godot/godot/bin/web_dlink_nothreads_debug.zip
354+
retention-days: 1
336355

337356
- name: Upload artifacts dlink nothreads release
338357
uses: actions/upload-artifact@v4
339358
with:
340359
name: ${{ format('{0}-{1}{2}.zip', 'godot-template-web-dlink-nothreads-release', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
341360
path: spine-godot/godot/bin/web_dlink_nothreads_release.zip
361+
retention-days: 1
342362

343363
upload-to-s3:
344364
needs: [godot-editor-windows, godot-editor-linux, godot-editor-macos, godot-template-ios, godot-template-macos, godot-template-windows, godot-template-linux, godot-template-android, godot-template-web]

‎.github/workflows/spine-godot.yml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
with:
3838
name: godot-editor-windows.zip
3939
path: spine-godot/godot/bin/godot.windows.opt.tools.64.exe
40+
retention-days: 1
4041

4142
godot-editor-linux:
4243
runs-on: ubuntu-latest
@@ -61,6 +62,7 @@ jobs:
6162
with:
6263
name: godot-editor-linux.zip
6364
path: spine-godot/godot/bin/godot.x11.opt.tools.64
65+
retention-days: 1
6466

6567
godot-editor-macos:
6668
runs-on: macos-latest
@@ -86,6 +88,7 @@ jobs:
8688
with:
8789
name: godot-editor-macos.zip
8890
path: spine-godot/godot/bin/godot-editor-macos.zip
91+
retention-days: 1
8992

9093
godot-template-ios:
9194
runs-on: macos-latest
@@ -107,6 +110,7 @@ jobs:
107110
with:
108111
name: godot-template-ios.zip
109112
path: spine-godot/godot/bin/iphone.zip
113+
retention-days: 1
110114

111115
godot-template-macos:
112116
runs-on: macos-latest
@@ -128,6 +132,7 @@ jobs:
128132
with:
129133
name: godot-template-macos.zip
130134
path: spine-godot/godot/bin/osx.zip
135+
retention-days: 1
131136

132137
godot-template-linux:
133138
runs-on: ubuntu-latest
@@ -151,12 +156,14 @@ jobs:
151156
with:
152157
name: godot-template-linux-debug.zip
153158
path: spine-godot/godot/bin/linux_x11_64_debug
159+
retention-days: 1
154160

155161
- name: Upload artifacts release
156162
uses: actions/upload-artifact@v4
157163
with:
158164
name: godot-template-linux-release.zip
159165
path: spine-godot/godot/bin/linux_x11_64_release
166+
retention-days: 1
160167

161168
godot-template-windows:
162169
runs-on: windows-latest
@@ -179,12 +186,14 @@ jobs:
179186
with:
180187
name: godot-template-windows-debug.zip
181188
path: spine-godot/godot/bin/windows_64_debug.exe
189+
retention-days: 1
182190

183191
- name: Upload artifacts release
184192
uses: actions/upload-artifact@v4
185193
with:
186194
name: godot-template-windows-release.zip
187195
path: spine-godot/godot/bin/windows_64_release.exe
196+
retention-days: 1
188197

189198
godot-template-android:
190199
runs-on: ubuntu-latest
@@ -219,18 +228,21 @@ jobs:
219228
with:
220229
name: godot-template-android-debug.zip
221230
path: spine-godot/godot/bin/android_debug.apk
231+
retention-days: 1
222232

223233
- name: Upload artifacts release
224234
uses: actions/upload-artifact@v4
225235
with:
226236
name: godot-template-android-release.zip
227237
path: spine-godot/godot/bin/android_release.apk
238+
retention-days: 1
228239

229240
- name: Upload artifacts source
230241
uses: actions/upload-artifact@v4
231242
with:
232243
name: godot-template-android-source.zip
233244
path: spine-godot/godot/bin/android_source.zip
245+
retention-days: 1
234246

235247
godot-template-web:
236248
runs-on: ubuntu-latest
@@ -262,12 +274,14 @@ jobs:
262274
with:
263275
name: godot-template-web-debug.zip
264276
path: spine-godot/godot/bin/webassembly_debug.zip
277+
retention-days: 1
265278

266279
- name: Upload artifacts release
267280
uses: actions/upload-artifact@v4
268281
with:
269282
name: godot-template-web-release.zip
270283
path: spine-godot/godot/bin/webassembly_release.zip
284+
retention-days: 1
271285

272286
upload-to-s3:
273287
needs: [godot-editor-windows, godot-editor-linux, godot-editor-macos, godot-template-ios, godot-template-macos, godot-template-windows, godot-template-linux, godot-template-android, godot-template-web]

0 commit comments

Comments
 (0)