1414
1515env :
1616 JOB_TRANSFER_ARTIFACT : build-artifacts
17- NODE_VERSION : 18.17
17+ NODE_VERSION : 20.18
1818
1919jobs :
2020 build :
@@ -23,12 +23,14 @@ jobs:
2323 fail-fast : false
2424 matrix :
2525 config :
26+ - os : macos-latest
27+ id : macos-universal
2628 - os : [self-hosted, windows-sign-pc]
2729 id : windows
2830 - os : ubuntu-latest
29- id : linux
30- - os : macos-latest
31- id : macos-universal
31+ id : linux-x64
32+ - os : ubuntu-22.04-arm
33+ id : linux-arm64
3234 runs-on : ${{ matrix.config.os }}
3335 timeout-minutes : 90
3436
98100 with :
99101 name : ${{ env.JOB_TRANSFER_ARTIFACT }}-${{ matrix.config.id }}
100102 path : dist
103+ overwrite : true
101104
102105 artifacts :
103106 name : ${{ matrix.artifact.name }} artifact
@@ -108,34 +111,41 @@ jobs:
108111 strategy :
109112 matrix :
110113 artifact :
111- - path : " *-linux_x64.zip"
112- name : Arduino-Lab-for-MicroPython_Linux_X86-64
113- id : linux
114114 - path : " *-mac_universal.zip"
115115 name : Arduino-Lab-for-MicroPython_macOS_Universal
116116 id : macos-universal
117+ - path : " *-win_x64.zip"
118+ name : Arduino-Lab-for-MicroPython_Windows_X86-64
119+ id : windows
120+ - path : " *-linux_x64.zip"
121+ name : Arduino-Lab-for-MicroPython_Linux_X86-64
122+ id : linux-x64
123+ - path : " *-linux_arm64.zip"
124+ name : Arduino-Lab-for-MicroPython_Linux_ARM64
125+ id : linux-arm64
126+
127+ # keep for future implementation
128+ # Windows - installers (future)
117129 # - path: "*Windows_64bit.exe"
118130 # name: Windows_X86-64_interactive_installer
119131 # id: windows
120132 # - path: "*Windows_64bit.msi"
121133 # name: Windows_X86-64_MSI
122134 # id: windows
123- - path : " *-win_x64.zip"
124- name : Arduino-Lab-for-MicroPython_Windows_X86-64
125- id : windows
135+
126136
127137 steps :
128138 - name : Download job transfer artifact
129139 uses : actions/download-artifact@v4
130140 with :
131141 name : ${{ env.JOB_TRANSFER_ARTIFACT }}-${{ matrix.artifact.id }}
132142 path : ${{ env.JOB_TRANSFER_ARTIFACT }}
133-
134143 - name : Upload tester build artifact
135144 uses : actions/upload-artifact@v4
136145 with :
137146 name : ${{ matrix.artifact.name }}
138147 path : ${{ env.JOB_TRANSFER_ARTIFACT }}/${{ matrix.artifact.path }}
148+ overwrite : true
139149
140150 release :
141151 needs : build
@@ -145,7 +155,9 @@ jobs:
145155 - name : Download all artifacts
146156 uses : actions/download-artifact@v4
147157 with :
158+ pattern : build-artifacts-*
148159 path : artifacts
160+ merge-multiple : true
149161
150162 - name : List artifacts
151163 run : ls -R artifacts
0 commit comments