Skip to content

Commit ba5a4d9

Browse files
committed
Nom more ./bin subdirectory
1 parent d57ebeb commit ba5a4d9

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ jobs:
103103
104104
- name: Package firmware
105105
run: |
106-
cp bin/.pio/build/esp32dev/firmware.bin 0x10000.bin
107-
cp bin/.pio/build/esp32dev/firmware.bin flashsd.bin
106+
cp .pio/build/esp32dev/firmware.bin 0x10000.bin
107+
cp .pio/build/esp32dev/firmware.bin flash.bin
108108
wget --no-verbose -O COPYRIGHT-ESP.html https://docs.espressif.com/projects/esp-idf/en/latest/esp32/COPYRIGHT.html
109109
zip --junk-paths obs-flash-${{ env.OBS_FLASH_VERSION }}.zip \
110-
bin/.pio/build/esp32dev/firmware.bin \
110+
flash.bin \
111111
COPYRIGHT-ESP.html \
112112
LICENSE-ARDUINO-ESP32.md \
113113
LICENSE
@@ -119,13 +119,13 @@ jobs:
119119
run: |
120120
# Hack - point sonarqube to the real sources not the copy of it
121121
# See also https://community.sonarsource.com/t/scanning-platformio-c-embeded-projects/35141/2
122-
sed -i 's|OpenBikeSensorFlash/bin|OpenBikeSensorFlash|g' \
123-
sonarqube-out/build-wrapper-dump.json
122+
# sed -i 's|OpenBikeSensorFlash/bin|OpenBikeSensorFlash|g' \
123+
# sonarqube-out/build-wrapper-dump.json
124124
# looks like pio copys our source from the main folder to a src folder
125-
sed -i 's|"src/|"main/|g' \
126-
sonarqube-out/build-wrapper-dump.json
127-
sed -i 's|\.pio/|bin/.pio/|g' \
128-
sonarqube-out/build-wrapper-dump.json
125+
# sed -i 's|"src/|"main/|g' \
126+
# sonarqube-out/build-wrapper-dump.json
127+
# sed -i 's|\.pio/|bin/.pio/|g' \
128+
# sonarqube-out/build-wrapper-dump.json
129129
# replace gcc with our script that reports the fake arch "le32-unknown-nacl"
130130
sed -i "s|/github/home/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-g..|`pwd`/.github/fake-cc|g" \
131131
sonarqube-out/build-wrapper-dump.json
@@ -146,7 +146,7 @@ jobs:
146146
with:
147147
name: obs-flash-${{ env.OBS_FLASH_VERSION }}
148148
path: |
149-
bin/.pio/build/esp32dev/firmware.bin
149+
flash.bin
150150
sonarqube-out/build-wrapper-dump.json
151151
COPYRIGHT-ESP.html
152152
LICENSE-ARDUINO-ESP32.md
@@ -210,6 +210,6 @@ jobs:
210210
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
211211
with:
212212
upload_url: ${{ steps.create_release.outputs.upload_url }}
213-
asset_path: ./bin/.pio/build/esp32dev/firmware.bin
213+
asset_path: flash.bin
214214
asset_name: flash.bin
215215
asset_content_type: application/x-esp32

0 commit comments

Comments
 (0)