Skip to content

Commit d8276da

Browse files
committed
Update json file location
1 parent 69a9274 commit d8276da

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/scripts/on-push.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,12 @@ if [ "$BUILD_PIO" -eq 0 ]; then
8787

8888
sizes_file="$HOME/.arduino/cli_compile_output.json"
8989
#rename sizes_file="$HOME/.arduino/cli_compile_output.json" to sizes_file="GITHUB_WORKSPACE/cli_compile_output_${chunk_index}.json"
90+
echo "Listings of $HOME/.arduino"
9091
ls $HOME/.arduino
91-
mv $sizes_file "$GITHUB_WORKSPACE/cli_compile_output_${chunk_index}.json"
92+
mv $sizes_file "$GITHUB_WORKSPACE/cli_compile_$chunk_index.json"
93+
echo "Listings of $GITHUB_WORKSPACE"
9294
ls $GITHUB_WORKSPACE
93-
95+
9496
else
9597
source ${SCRIPTS_DIR}/install-platformio-esp32.sh
9698
# PlatformIO ESP32 Test

.github/workflows/push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
- name: Upload cli compile json
5353
uses: actions/upload-artifact@v2
5454
with:
55-
name: cli-compile-json-${{ matrix.chunk }}
56-
path: cli-compile-${{ matrix.chunk }}.json
55+
name: cli_compile_${{ matrix.chunk }}
56+
path: cli_compile_${{ matrix.chunk }}.json
5757

5858
# Windows and MacOS
5959
build-arduino-win-mac:

0 commit comments

Comments
 (0)