@@ -30,14 +30,14 @@ jobs:
3030 name : groundstation-wio
3131 kind : nrf52
3232 steps :
33- - uses : actions/checkout@v4
33+ - uses : actions/checkout@v7
3434
35- - uses : actions/setup-python@v5
35+ - uses : actions/setup-python@v6
3636 with :
3737 python-version : " 3.11"
3838
3939 - name : Cache PlatformIO
40- uses : actions/cache@v4
40+ uses : actions/cache@v6
4141 with :
4242 path : |
4343 ~/.platformio
@@ -71,24 +71,12 @@ jobs:
7171 cp .pio/build/${{ matrix.environment }}/firmware.uf2 artifacts/${{ matrix.name }}.uf2
7272 python -c "from intelhex import IntelHex; IntelHex('.pio/build/${{ matrix.environment }}/firmware.hex').tobinfile('artifacts/${{ matrix.name }}.bin')"
7373
74- - name : Upload .bin
75- uses : actions/upload-artifact@v4
74+ # One artifact (zip) per target; releases re-attach the files individually
75+ - name : Upload firmware
76+ uses : actions/upload-artifact@v7
7677 with :
77- name : ${{ matrix.name }}.bin
78- path : artifacts/${{ matrix.name }}.bin
79-
80- - name : Upload .hex
81- uses : actions/upload-artifact@v4
82- with :
83- name : ${{ matrix.name }}.hex
84- path : artifacts/${{ matrix.name }}.hex
85-
86- - name : Upload .uf2
87- if : matrix.kind == 'nrf52'
88- uses : actions/upload-artifact@v4
89- with :
90- name : ${{ matrix.name }}.uf2
91- path : artifacts/${{ matrix.name }}.uf2
78+ name : ${{ matrix.name }}
79+ path : artifacts/
9280
9381 # Tag pushes (v*) publish the firmware as raw release assets — unlike CI
9482 # artifacts, these download as plain .bin/.hex files, not zips
@@ -100,13 +88,13 @@ jobs:
10088 contents : write
10189 steps :
10290 - name : Download firmware
103- uses : actions/download-artifact@v4
91+ uses : actions/download-artifact@v8
10492 with :
10593 path : dist
10694 merge-multiple : true
10795
10896 - name : Create release
109- uses : softprops/action-gh-release@v2
97+ uses : softprops/action-gh-release@v3
11098 with :
11199 files : dist/*
112100 prerelease : ${{ contains(github.ref_name, '-') }}
0 commit comments