File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ jobs:
106106 unzip *.atpack -d ./DFP
107107 - name : build-firmware
108108 run : |
109- mkdir temp
109+ mkdir -p temp
110+ rm -rf ./temp/*
110111
111112 libraries=""
112113
@@ -167,7 +168,8 @@ jobs:
167168 unzip *.atpack -d ./DFP
168169 - name : build-firmware
169170 run : |
170- mkdir temp
171+ mkdir -p temp
172+ rm -rf ./temp/*
171173
172174 libraries=""
173175
@@ -191,8 +193,8 @@ jobs:
191193 ./avr8-gnu-toolchain-linux_x86_64/bin/avr-objcopy -j .text -j .data -O ihex ./temp/main.elf ${{ env.OutputFolder }}/${{ env.FirmwareName }}_t1606.hex
192194 ./avr8-gnu-toolchain-linux_x86_64/bin/avr-objcopy -j .eeprom --change-section-lma .eeprom=0 -O ihex ./temp/main.elf ${{ env.OutputFolder }}/${{ env.FirmwareName }}_t1606.eep
193195
194- tar -czvf build.tar.gz ${{ env.OutputFolder }}
195- zip -r build.zip ${{ env.OutputFolder }}
196+ tar -czvf test- build.tar.gz ${{ env.OutputFolder }}
197+ zip -r test- build.zip ${{ env.OutputFolder }}
196198
197199 - name : upload-test-firmware
198200 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments