Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ef5c6b9

Browse filesBrowse files
authored
fix(release): Fix install test on release (espressif#10256)
1 parent 77d8095 commit ef5c6b9
Copy full SHA for ef5c6b9

File tree

Expand file treeCollapse file tree

1 file changed

+2
-8
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-8
lines changed

‎.github/scripts/on-release.sh

Copy file name to clipboardExpand all lines: .github/scripts/on-release.sh
+2-8Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -366,12 +366,9 @@ export PATH="/home/runner/bin:$PATH"
366366
source ./.github/scripts/install-arduino-cli.sh
367367

368368
echo "Testing $PACKAGE_JSON_DEV install ..."
369-
echo "Updating index ..."
370-
arduino-cli core update-index --additional-urls "file://$OUTPUT_DIR/$PACKAGE_JSON_DEV"
371-
if [ $? -ne 0 ]; then echo "ERROR: Failed to update index ($?)"; exit 1; fi
372369

373370
echo "Installing esp32 ..."
374-
arduino-cli core install esp32:esp32
371+
arduino-cli core install esp32:esp32 --additional-urls "file://$OUTPUT_DIR/$PACKAGE_JSON_DEV"
375372
if [ $? -ne 0 ]; then echo "ERROR: Failed to install esp32 ($?)"; exit 1; fi
376373

377374
echo "Compiling example ..."
@@ -386,12 +383,9 @@ echo "Test successful!"
386383

387384
if [ "$RELEASE_PRE" == "false" ]; then
388385
echo "Testing $PACKAGE_JSON_REL install ..."
389-
echo "Updating index ..."
390-
arduino-cli core update-index --additional-urls "file://$OUTPUT_DIR/$PACKAGE_JSON_REL"
391-
if [ $? -ne 0 ]; then echo "ERROR: Failed to update index ($?)"; exit 1; fi
392386

393387
echo "Installing esp32 ..."
394-
arduino-cli core install esp32:esp32
388+
arduino-cli core install esp32:esp32 --additional-urls "file://$OUTPUT_DIR/$PACKAGE_JSON_REL"
395389
if [ $? -ne 0 ]; then echo "ERROR: Failed to install esp32 ($?)"; exit 1; fi
396390

397391
echo "Compiling example ..."

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.