Skip to content

Commit 825ffbd

Browse files
author
dingo35
committed
pio-build.yaml: fix workflow v4 so now bin files are in root of .zip file
1 parent 3b6be5d commit 825ffbd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pio-build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ jobs:
103103
rm -f "$secret_file"
104104
mv ./SmartEVSE-3/.pio/build/release/firmware.bin ./SmartEVSE-3/.pio/build/release/firmware.debug.bin
105105
mv ./SmartEVSE-3/.pio/build/release/firmware.signed.bin ./SmartEVSE-3/.pio/build/release/firmware.debug.signed.bin
106+
# prevent the .bin files are gathered in .pio directory in the dists-zip file:
107+
cp -a ./SmartEVSE-3/HowToFlash.txt ./SmartEVSE-3/.pio/build/release/firmware.debug.signed.bin
106108
107109
# Combined upload for all artifacts using v4
108110
- name: Upload all artifacts
@@ -111,7 +113,7 @@ jobs:
111113
name: dists_zip
112114
path: |
113115
./SmartEVSE-3/.pio/build/release/*.bin
114-
./SmartEVSE-3/HowToFlash.txt
116+
./SmartEVSE-3/.pio/build/release/HowToFlash.txt
115117
retention-days: 10
116118
compression-level: 6
117119
overwrite: true

0 commit comments

Comments
 (0)