50
50
steps :
51
51
- uses : actions/checkout@v4
52
52
- name : Use Node.js ${{ matrix.node-version }}
53
- uses : actions/setup-node@v3
53
+ uses : actions/setup-node@v4
54
54
with :
55
55
node-version : ${{ matrix.node-version }}
56
56
cache : " yarn"
64
64
65
65
- name : Set Version Number Variable
66
66
id : versionNumber
67
- uses : actions/github-script@v6
67
+ uses : actions/github-script@v7
68
68
env :
69
69
IS_DEV : ${{ contains(github.ref, 'development') }}
70
70
IS_RC : ${{ contains(github.ref, 'RC') }}
@@ -108,91 +108,91 @@ jobs:
108
108
run : yarn run build:arm64
109
109
110
110
- name : Upload Linux .zip x64 Artifact
111
- uses : actions/upload-artifact@v3
111
+ uses : actions/upload-artifact@v4
112
112
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
113
113
with :
114
114
name : freetube_${{ steps.versionNumber.outputs.result }}_linux_portable_x64
115
115
path : build/freetube-${{ steps.versionNumber.outputs.result }}.zip
116
116
117
117
- name : Upload Linux .7z x64 Artifact
118
- uses : actions/upload-artifact@v3
118
+ uses : actions/upload-artifact@v4
119
119
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
120
120
with :
121
121
name : freetube_${{ steps.versionNumber.outputs.result }}_linux_portable_x64.7z
122
122
path : build/freetube-${{ steps.versionNumber.outputs.result }}.7z
123
123
124
124
- name : Upload Linux .zip ARMv7l Artifact
125
- uses : actions/upload-artifact@v3
125
+ uses : actions/upload-artifact@v4
126
126
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
127
127
with :
128
128
name : freetube_${{ steps.versionNumber.outputs.result }}_linux_portable_armv7l
129
129
path : build/freetube-${{ steps.versionNumber.outputs.result }}-armv7l.zip
130
130
131
131
- name : Upload Linux .7z ARMv7l Artifact
132
- uses : actions/upload-artifact@v3
132
+ uses : actions/upload-artifact@v4
133
133
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
134
134
with :
135
135
name : freetube_${{ steps.versionNumber.outputs.result }}_linux_portable_armv7l.7z
136
136
path : build/freetube-${{ steps.versionNumber.outputs.result }}-armv7l.7z
137
137
138
138
- name : Upload Linux .zip ARM64 Artifact
139
- uses : actions/upload-artifact@v3
139
+ uses : actions/upload-artifact@v4
140
140
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
141
141
with :
142
142
name : freetube_${{ steps.versionNumber.outputs.result }}_linux_portable_arm64
143
143
path : build/freetube-${{ steps.versionNumber.outputs.result }}-arm64.zip
144
144
145
145
- name : Upload Linux .7z ARM64 Artifact
146
- uses : actions/upload-artifact@v3
146
+ uses : actions/upload-artifact@v4
147
147
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
148
148
with :
149
149
name : freetube_${{ steps.versionNumber.outputs.result }}_linux_portable_arm64.7z
150
150
path : build/freetube-${{ steps.versionNumber.outputs.result }}-arm64.7z
151
151
152
152
- name : Upload .deb x64 Artifact
153
- uses : actions/upload-artifact@v3
153
+ uses : actions/upload-artifact@v4
154
154
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
155
155
with :
156
156
name : freetube_${{ steps.versionNumber.outputs.result }}_amd64.deb
157
157
path : build/freetube_${{ steps.versionNumber.outputs.result }}_amd64.deb
158
158
159
159
- name : Upload .deb ARMv7l Artifact
160
- uses : actions/upload-artifact@v3
160
+ uses : actions/upload-artifact@v4
161
161
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
162
162
with :
163
163
name : freetube_${{ steps.versionNumber.outputs.result }}_armv7l.deb
164
164
path : build/freetube_${{ steps.versionNumber.outputs.result }}_armv7l.deb
165
165
166
166
- name : Upload .deb ARM64 Artifact
167
- uses : actions/upload-artifact@v3
167
+ uses : actions/upload-artifact@v4
168
168
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
169
169
with :
170
170
name : freetube_${{ steps.versionNumber.outputs.result }}_arm64.deb
171
171
path : build/freetube_${{ steps.versionNumber.outputs.result }}_arm64.deb
172
172
173
173
- name : Upload AppImage x64 Artifact
174
- uses : actions/upload-artifact@v3
174
+ uses : actions/upload-artifact@v4
175
175
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
176
176
with :
177
177
name : freetube_${{ steps.versionNumber.outputs.result }}_amd64.AppImage
178
178
path : build/FreeTube-${{ steps.versionNumber.outputs.result }}.AppImage
179
179
180
180
- name : Upload AppImage ARMv7l Artifact
181
- uses : actions/upload-artifact@v3
181
+ uses : actions/upload-artifact@v4
182
182
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
183
183
with :
184
184
name : freetube_${{ steps.versionNumber.outputs.result }}_armv7l.AppImage
185
185
path : build/FreeTube-${{ steps.versionNumber.outputs.result }}-armv7l.AppImage
186
186
187
187
- name : Upload AppImage ARM64 Artifact
188
- uses : actions/upload-artifact@v3
188
+ uses : actions/upload-artifact@v4
189
189
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
190
190
with :
191
191
name : freetube_${{ steps.versionNumber.outputs.result }}_arm64.AppImage
192
192
path : build/FreeTube-${{ steps.versionNumber.outputs.result }}-arm64.AppImage
193
193
194
194
- name : Upload .rpm x64 Artifact
195
- uses : actions/upload-artifact@v3
195
+ uses : actions/upload-artifact@v4
196
196
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
197
197
with :
198
198
name : freetube_${{ steps.versionNumber.outputs.result }}_amd64.rpm
@@ -201,133 +201,133 @@ jobs:
201
201
# rpm are not built for armv7l
202
202
203
203
- name : Upload .rpm ARM64 Artifact
204
- uses : actions/upload-artifact@v3
204
+ uses : actions/upload-artifact@v4
205
205
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
206
206
with :
207
207
name : freetube_${{ steps.versionNumber.outputs.result }}_arm64.rpm
208
208
path : build/freetube-${{ steps.versionNumber.outputs.result }}.aarch64.rpm
209
209
210
210
- name : Upload Alpine .apk x64 Artifact
211
- uses : actions/upload-artifact@v3
211
+ uses : actions/upload-artifact@v4
212
212
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
213
213
with :
214
214
name : freetube_${{ steps.versionNumber.outputs.result }}_alpine_amd64.apk
215
215
path : build/freetube-${{ steps.versionNumber.outputs.result }}.apk
216
216
217
217
- name : Upload Alpine .apk ARMv7l Artifact
218
- uses : actions/upload-artifact@v3
218
+ uses : actions/upload-artifact@v4
219
219
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
220
220
with :
221
221
name : freetube_${{ steps.versionNumber.outputs.result }}_alpine_armv7l.apk
222
222
path : build/freetube-${{ steps.versionNumber.outputs.result }}-armv7l.apk
223
223
224
224
- name : Upload Alpine .apk ARM64 Artifact
225
- uses : actions/upload-artifact@v3
225
+ uses : actions/upload-artifact@v4
226
226
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
227
227
with :
228
228
name : freetube_${{ steps.versionNumber.outputs.result }}_alpine_arm64.apk
229
229
path : build/freetube-${{ steps.versionNumber.outputs.result }}-arm64.apk
230
230
231
231
- name : Upload Pacman .pacman x64 Artifact
232
- uses : actions/upload-artifact@v3
232
+ uses : actions/upload-artifact@v4
233
233
if : startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
234
234
with :
235
235
name : freetube_${{ steps.versionNumber.outputs.result }}_amd64.pacman
236
236
path : build/freetube-${{ steps.versionNumber.outputs.result }}.pacman
237
237
238
238
# - name: Upload Web Build
239
- # uses: actions/upload-artifact@v3
239
+ # uses: actions/upload-artifact@v4
240
240
# if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
241
241
# with:
242
242
# name: freetube_${{ steps.versionNumber.outputs.result }}_static_web
243
243
# path: dist/web
244
244
245
245
- name : Upload Windows x64 .exe Artifact
246
- uses : actions/upload-artifact@v3
246
+ uses : actions/upload-artifact@v4
247
247
if : startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-x64')
248
248
with :
249
249
name : freetube-${{ steps.versionNumber.outputs.result }}-setup-x64.exe
250
250
path : build/freetube Setup ${{ steps.versionNumber.outputs.result }}.exe
251
251
252
252
- name : Upload Windows arm64 .exe Artifact
253
- uses : actions/upload-artifact@v3
253
+ uses : actions/upload-artifact@v4
254
254
if : startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-arm64')
255
255
with :
256
256
name : freetube-${{ steps.versionNumber.outputs.result }}-setup-arm64.exe
257
257
path : build/freetube Setup ${{ steps.versionNumber.outputs.result }}.exe
258
258
259
259
- name : Upload Windows x64 .zip Artifact
260
- uses : actions/upload-artifact@v3
260
+ uses : actions/upload-artifact@v4
261
261
if : startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-x64')
262
262
with :
263
263
name : freetube-${{ steps.versionNumber.outputs.result }}-win-x64-portable
264
264
path : build/freetube-${{ steps.versionNumber.outputs.result }}-win.zip
265
265
266
266
- name : Upload Windows x64 .7z Artifact
267
- uses : actions/upload-artifact@v3
267
+ uses : actions/upload-artifact@v4
268
268
if : startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-x64')
269
269
with :
270
270
name : freetube-${{ steps.versionNumber.outputs.result }}-win-x64-portable.7z
271
271
path : build/freetube-${{ steps.versionNumber.outputs.result }}-win.7z
272
272
273
273
- name : Upload Windows arm64 .zip Artifact
274
- uses : actions/upload-artifact@v3
274
+ uses : actions/upload-artifact@v4
275
275
if : startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-arm64')
276
276
with :
277
277
name : freetube-${{ steps.versionNumber.outputs.result }}-win-arm64-portable
278
278
path : build/freetube-${{ steps.versionNumber.outputs.result }}-arm64-win.zip
279
279
280
280
- name : Upload Windows arm64 .7z Artifact
281
- uses : actions/upload-artifact@v3
281
+ uses : actions/upload-artifact@v4
282
282
if : startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-arm64')
283
283
with :
284
284
name : freetube-${{ steps.versionNumber.outputs.result }}-win-arm64-portable.7z
285
285
path : build/freetube-${{ steps.versionNumber.outputs.result }}-arm64-win.7z
286
286
287
287
- name : Upload Windows x64 Portable Artifact
288
- uses : actions/upload-artifact@v3
288
+ uses : actions/upload-artifact@v4
289
289
if : startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-x64')
290
290
with :
291
291
name : freetube-${{ steps.versionNumber.outputs.result }}-portable-x64.exe
292
292
path : build/freetube ${{ steps.versionNumber.outputs.result }}.exe
293
293
294
294
- name : Upload Windows arm64 Portable Artifact
295
- uses : actions/upload-artifact@v3
295
+ uses : actions/upload-artifact@v4
296
296
if : startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-arm64')
297
297
with :
298
298
name : freetube-${{ steps.versionNumber.outputs.result }}-portable-arm64.exe
299
299
path : build/freetube ${{ steps.versionNumber.outputs.result }}.exe
300
300
301
301
- name : Upload Mac x64 .dmg Artifact
302
- uses : actions/upload-artifact@v3
302
+ uses : actions/upload-artifact@v4
303
303
if : startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-x64')
304
304
with :
305
305
name : freetube-${{ steps.versionNumber.outputs.result }}-mac-x64.dmg
306
306
path : build/freetube-${{ steps.versionNumber.outputs.result }}.dmg
307
307
308
308
# - name: Upload Mac arm64 .dmg Artifact
309
- # uses: actions/upload-artifact@v3
309
+ # uses: actions/upload-artifact@v4
310
310
# if: startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-arm64')
311
311
# with:
312
312
# name: freetube-${{ steps.versionNumber.outputs.result }}-mac-arm64.dmg
313
313
# path: build/freetube-${{ steps.versionNumber.outputs.result }}-arm64.dmg
314
314
315
315
- name : Upload Mac x64 .zip Artifact
316
- uses : actions/upload-artifact@v3
316
+ uses : actions/upload-artifact@v4
317
317
if : startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-x64')
318
318
with :
319
319
name : freetube-${{ steps.versionNumber.outputs.result }}-mac-x64.zip
320
320
path : build/freetube-${{ steps.versionNumber.outputs.result }}-mac.zip
321
321
322
322
- name : Upload Mac x64 .7z Artifact
323
- uses : actions/upload-artifact@v3
323
+ uses : actions/upload-artifact@v4
324
324
if : startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-x64')
325
325
with :
326
326
name : freetube-${{ steps.versionNumber.outputs.result }}-mac-x64.7z
327
327
path : build/freetube-${{ steps.versionNumber.outputs.result }}-mac.7z
328
328
329
329
# - name: Upload Mac arm64 .zip Artifact
330
- # uses: actions/upload-artifact@v3
330
+ # uses: actions/upload-artifact@v4
331
331
# if: startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-arm64')
332
332
# with:
333
333
# name: freetube-${{ steps.versionNumber.outputs.result }}-mac-arm64.zip
0 commit comments