48
48
GO_VERSION : ' 1.21'
49
49
# See: https://github.com/actions/setup-node/#readme
50
50
NODE_VERSION : ' 18.17'
51
+ # https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
52
+ ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION : true
51
53
JOB_TRANSFER_ARTIFACT : build-artifacts
52
54
CHANGELOG_ARTIFACTS : changelog
53
55
STAGED_CHANNEL_FILES_ARTIFACT : staged-channel-files
86
88
name: Windows_X86-64_zip
87
89
- config:
88
90
name: Linux
89
- runs-on: ubuntu-latest
91
+ runs-on: ubuntu-22
90
92
container: |
91
93
{
92
94
\"image\": \"ghcr.io/arduino/arduino-ide/linux:main\"
134
136
135
137
jobs :
136
138
run-determination :
137
- runs-on : ubuntu-latest
139
+ runs-on : ubuntu-22
138
140
outputs :
139
141
result : ${{ steps.determination.outputs.result }}
140
142
permissions : {}
@@ -160,7 +162,7 @@ jobs:
160
162
build-type-determination :
161
163
needs : run-determination
162
164
if : needs.run-determination.outputs.result == 'true'
163
- runs-on : ubuntu-latest
165
+ runs-on : ubuntu-22
164
166
outputs :
165
167
is-release : ${{ steps.determination.outputs.is-release }}
166
168
is-nightly : ${{ steps.determination.outputs.is-nightly }}
@@ -201,7 +203,7 @@ jobs:
201
203
202
204
select-targets :
203
205
needs : build-type-determination
204
- runs-on : ubuntu-latest
206
+ runs-on : ubuntu-22
205
207
outputs :
206
208
artifact-matrix : ${{ steps.assemble.outputs.artifact-matrix }}
207
209
build-matrix : ${{ steps.assemble.outputs.build-matrix }}
@@ -278,8 +280,6 @@ jobs:
278
280
- build-type-determination
279
281
- select-targets
280
282
env :
281
- # https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
282
- ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION : true
283
283
# Location of artifacts generated by build.
284
284
BUILD_ARTIFACTS_PATH : electron-app/dist/build-artifacts
285
285
# to skip passing signing credentials to electron-builder
@@ -438,7 +438,7 @@ jobs:
438
438
- select-targets
439
439
- build
440
440
if : needs.select-targets.outputs.merge-channel-files == 'true'
441
- runs-on : ubuntu-latest
441
+ runs-on : ubuntu-22
442
442
permissions : {}
443
443
steps :
444
444
- name : Set environment variables
@@ -501,7 +501,7 @@ jobs:
501
501
- select-targets
502
502
- build
503
503
if : always() && needs.build.result != 'skipped'
504
- runs-on : ubuntu-latest
504
+ runs-on : ubuntu-22
505
505
506
506
strategy :
507
507
matrix :
@@ -524,7 +524,7 @@ jobs:
524
524
needs :
525
525
- build-type-determination
526
526
- build
527
- runs-on : ubuntu-latest
527
+ runs-on : ubuntu-22
528
528
outputs :
529
529
BODY : ${{ steps.changelog.outputs.BODY }}
530
530
steps :
@@ -583,7 +583,7 @@ jobs:
583
583
needs.changelog.result == 'success' &&
584
584
needs.build-type-determination.outputs.publish-to-s3 == 'true' &&
585
585
needs.build-type-determination.outputs.is-nightly == 'true'
586
- runs-on : ubuntu-latest
586
+ runs-on : ubuntu-22
587
587
steps :
588
588
- name : Download [GitHub Actions]
589
589
uses : actions/download-artifact@v3
@@ -615,7 +615,7 @@ jobs:
615
615
) &&
616
616
needs.changelog.result == 'success' &&
617
617
needs.build-type-determination.outputs.is-release == 'true'
618
- runs-on : ubuntu-latest
618
+ runs-on : ubuntu-22
619
619
steps :
620
620
- name : Download [GitHub Actions]
621
621
uses : actions/download-artifact@v3
@@ -658,7 +658,7 @@ jobs:
658
658
- release
659
659
- artifacts
660
660
if : always() && needs.build.result != 'skipped'
661
- runs-on : ubuntu-latest
661
+ runs-on : ubuntu-22
662
662
663
663
steps :
664
664
- name : Remove unneeded job transfer artifact
0 commit comments