Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for page #459

Merged
merged 2 commits into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading