Skip to content

Commit

Permalink
Merge pull request #459 from bmorcelli/main
Browse files Browse the repository at this point in the history
fix for page
  • Loading branch information
bmorcelli authored Nov 21, 2024
2 parents f895bd7 + a10671e commit 39e8345
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/buil_parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@
0x8000 .pio/build/${{ matrix.board.env }}/partitions.bin \
0x10000 .pio/build/${{ matrix.board.env }}/firmware.bin
js_content="{\"name\":\"${{ matrix.board.name }}\",\"builds\":[{\"chipFamily\":\"${{ matrix.board.family }}\",\"improv\":false,\"parts\":[{\"path\":\"bins/Bruce-${{ matrix.board.env }}.bin\",\"offset\":0}]}]}"
js_content="{\"name\":\"${{ matrix.board.name }}\",\"builds\":[{\"chipFamily\":\"${{ matrix.board.family }}\",\"improv\":false,\"parts\":[{\"path\":\"Bruce-${{ matrix.board.env }}.bin\",\"offset\":0}]}]}"
echo "$js_content" > "./Bruce-${{ matrix.board.env }}.json"
html="<input type='radio' name='type' value='${{ matrix.board.env }}' id='${{ matrix.board.env }}' /><label for='${{ matrix.board.env }}'>${{ matrix.board.name }}</label>"
Expand Down Expand Up @@ -336,12 +337,14 @@
ls -all
tree
if [ "${{ github.ref_type }}" != "tag" ]; then
rm -f ./BetaRelease/*
mv -f ~/BruceArtifacts/*/*.bin ./BetaRelease
mv -f ~/BruceArtifacts/*/*.json ./BetaRelease
elif [ "${{ github.ref_type }}" == "tag" ]; then
mv -f ~/BruceArtifacts/*/*.bin ./LastRelease
mv -f ~/BruceArtifacts/*/*.json ./LastRelease
rm -f ./LastRelease/*
fi
cp -f ~/BruceArtifacts/*/*.json ./LastRelease
cp -f ~/BruceArtifacts/*/*.json ./BetaRelease
- name: Commit and push changes
run: |
Expand Down

0 comments on commit 39e8345

Please sign in to comment.