Skip to content

Commit 4ff9518

Browse files
committed
Update on-push.sh
1 parent 24816a0 commit 4ff9518

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/scripts/on-push.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@ function build(){
3636
${BUILD_SKETCH} ${sargs}
3737
done
3838
fi
39+
sizes_file="$HOME/.arduino/cli_compile_output.json"
3940
#rename sizes_file="$HOME/.arduino/cli_compile_output.json" to sizes_file="GITHUB_WORKSPACE/cli_compile_output_${chunk_index}.json"
40-
mv "$HOME/.arduino/cli_compile_output.json" "$GITHUB_WORKSPACE/cli_compile_output_${chunk_index}.json"
41+
ls -R $HOME/.arduino
42+
mv $sizes_file "$GITHUB_WORKSPACE/cli_compile_output_${chunk_index}.json"
43+
ls -R $GITHUB_WORKSPACE
44+
4145
}
4246

4347
if [ -z "$GITHUB_WORKSPACE" ]; then

0 commit comments

Comments
 (0)