We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1350228 commit e9ccc63Copy full SHA for e9ccc63
.github/workflows/release-offline.yml
@@ -203,6 +203,11 @@ jobs:
203
id: get_tinyuf2
204
continue-on-error: true
205
run: |
206
+ # check ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashMode}} is not empty
207
+ if [ -z "${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashMode}}" ]; then
208
+ echo "Error: esptool.flashMode is not set in board definition."
209
+ exit 1
210
+ fi
211
BOARD_NAME="${{fromJson(steps.get_board_json.outputs.boardJson).bootloaderBoardName}}"
212
for attempt in 1 2; do
213
echo "Attempt $attempt: Fetching tinyuf2 release info for board $BOARD_NAME"
0 commit comments