Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
ef5c6b94
Unverified
Commit
ef5c6b94
authored
Aug 28, 2024
by
Lucas Saavedra Vaz
Committed by
GitHub
Aug 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(release): Fix install test on release (#10256)
parent
77d80954
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
.github/scripts/on-release.sh
.github/scripts/on-release.sh
+2
-8
No files found.
.github/scripts/on-release.sh
View file @
ef5c6b94
...
...
@@ -366,12 +366,9 @@ export PATH="/home/runner/bin:$PATH"
source
./.github/scripts/install-arduino-cli.sh
echo
"Testing
$PACKAGE_JSON_DEV
install ..."
echo
"Updating index ..."
arduino-cli core update-index
--additional-urls
"file://
$OUTPUT_DIR
/
$PACKAGE_JSON_DEV
"
if
[
$?
-ne
0
]
;
then
echo
"ERROR: Failed to update index (
$?
)"
;
exit
1
;
fi
echo
"Installing esp32 ..."
arduino-cli core
install
esp32:esp32
arduino-cli core
install
esp32:esp32
--additional-urls
"file://
$OUTPUT_DIR
/
$PACKAGE_JSON_DEV
"
if
[
$?
-ne
0
]
;
then
echo
"ERROR: Failed to install esp32 (
$?
)"
;
exit
1
;
fi
echo
"Compiling example ..."
...
...
@@ -386,12 +383,9 @@ echo "Test successful!"
if
[
"
$RELEASE_PRE
"
==
"false"
]
;
then
echo
"Testing
$PACKAGE_JSON_REL
install ..."
echo
"Updating index ..."
arduino-cli core update-index
--additional-urls
"file://
$OUTPUT_DIR
/
$PACKAGE_JSON_REL
"
if
[
$?
-ne
0
]
;
then
echo
"ERROR: Failed to update index (
$?
)"
;
exit
1
;
fi
echo
"Installing esp32 ..."
arduino-cli core
install
esp32:esp32
arduino-cli core
install
esp32:esp32
--additional-urls
"file://
$OUTPUT_DIR
/
$PACKAGE_JSON_REL
"
if
[
$?
-ne
0
]
;
then
echo
"ERROR: Failed to install esp32 (
$?
)"
;
exit
1
;
fi
echo
"Compiling example ..."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment