Skip to content

Commit 78bec60

Browse files
test
1 parent 1721908 commit 78bec60

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/build.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ env:
4848
GO_VERSION: '1.21'
4949
# See: https://github.com/actions/setup-node/#readme
5050
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
5153
JOB_TRANSFER_ARTIFACT: build-artifacts
5254
CHANGELOG_ARTIFACTS: changelog
5355
STAGED_CHANNEL_FILES_ARTIFACT: staged-channel-files
@@ -86,7 +88,7 @@ env:
8688
name: Windows_X86-64_zip
8789
- config:
8890
name: Linux
89-
runs-on: ubuntu-latest
91+
runs-on: ubuntu-22
9092
container: |
9193
{
9294
\"image\": \"ghcr.io/arduino/arduino-ide/linux:main\"
@@ -134,7 +136,7 @@ env:
134136
135137
jobs:
136138
run-determination:
137-
runs-on: ubuntu-latest
139+
runs-on: ubuntu-22
138140
outputs:
139141
result: ${{ steps.determination.outputs.result }}
140142
permissions: {}
@@ -160,7 +162,7 @@ jobs:
160162
build-type-determination:
161163
needs: run-determination
162164
if: needs.run-determination.outputs.result == 'true'
163-
runs-on: ubuntu-latest
165+
runs-on: ubuntu-22
164166
outputs:
165167
is-release: ${{ steps.determination.outputs.is-release }}
166168
is-nightly: ${{ steps.determination.outputs.is-nightly }}
@@ -201,7 +203,7 @@ jobs:
201203
202204
select-targets:
203205
needs: build-type-determination
204-
runs-on: ubuntu-latest
206+
runs-on: ubuntu-22
205207
outputs:
206208
artifact-matrix: ${{ steps.assemble.outputs.artifact-matrix }}
207209
build-matrix: ${{ steps.assemble.outputs.build-matrix }}
@@ -278,8 +280,6 @@ jobs:
278280
- build-type-determination
279281
- select-targets
280282
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
283283
# Location of artifacts generated by build.
284284
BUILD_ARTIFACTS_PATH: electron-app/dist/build-artifacts
285285
# to skip passing signing credentials to electron-builder
@@ -438,7 +438,7 @@ jobs:
438438
- select-targets
439439
- build
440440
if: needs.select-targets.outputs.merge-channel-files == 'true'
441-
runs-on: ubuntu-latest
441+
runs-on: ubuntu-22
442442
permissions: {}
443443
steps:
444444
- name: Set environment variables
@@ -501,7 +501,7 @@ jobs:
501501
- select-targets
502502
- build
503503
if: always() && needs.build.result != 'skipped'
504-
runs-on: ubuntu-latest
504+
runs-on: ubuntu-22
505505

506506
strategy:
507507
matrix:
@@ -524,7 +524,7 @@ jobs:
524524
needs:
525525
- build-type-determination
526526
- build
527-
runs-on: ubuntu-latest
527+
runs-on: ubuntu-22
528528
outputs:
529529
BODY: ${{ steps.changelog.outputs.BODY }}
530530
steps:
@@ -583,7 +583,7 @@ jobs:
583583
needs.changelog.result == 'success' &&
584584
needs.build-type-determination.outputs.publish-to-s3 == 'true' &&
585585
needs.build-type-determination.outputs.is-nightly == 'true'
586-
runs-on: ubuntu-latest
586+
runs-on: ubuntu-22
587587
steps:
588588
- name: Download [GitHub Actions]
589589
uses: actions/download-artifact@v3
@@ -615,7 +615,7 @@ jobs:
615615
) &&
616616
needs.changelog.result == 'success' &&
617617
needs.build-type-determination.outputs.is-release == 'true'
618-
runs-on: ubuntu-latest
618+
runs-on: ubuntu-22
619619
steps:
620620
- name: Download [GitHub Actions]
621621
uses: actions/download-artifact@v3
@@ -658,7 +658,7 @@ jobs:
658658
- release
659659
- artifacts
660660
if: always() && needs.build.result != 'skipped'
661-
runs-on: ubuntu-latest
661+
runs-on: ubuntu-22
662662

663663
steps:
664664
- name: Remove unneeded job transfer artifact

0 commit comments

Comments
 (0)