-
-
Notifications
You must be signed in to change notification settings - Fork 404
Failing Github Actions CI using install.sh - Listing more than one github download link - v0.35.0 #2483
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
Comments
At the advice of @brentru I'm tagging the people in the know... @cmaglie @facchinm @per1234 @alessio-perugini |
Hi, but we have
for So first var contains a v for arduino-cli_v0.35 but no v for second var $DOWNLOAD_URL (arduino-cli_0.35...) According to install.sh script and wiki you can test with this Dockerfile under wsl2 with ubuntu updated
|
Address arduino#2483 in single place
Well deduced @ozanges, thanks, that unblocks me although I'd like to fix it ideally. |
Thanks for the prompt bug report! We have fixed the |
Tested & fixed. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the problem
all our CI is failing and I've traced through, and it seems like the grep is failing, but more like the newlines are not being detected by grep (or the $APPLICATION_DIST is incorrectly set - but the first arduino.cc download attempt says otherwise). Works in windows (ignoring cut), and wsl fine, but not in github actions.
CI Output: logs_9.zip https://github.com/adafruit/Adafruit_Arcada/actions/runs/7388865095/job/20100744127#step:5:84
Which leads (via our ci script) to the grep listing more than one file here: https://github.com/arduino/arduino-cli/blob/master/install.sh#L171
I have no idea really, escaping or maybe the environment variables in actions are causing problems as the arch is detected and the commands work apart from that (there was some example of migrating to return stdout in a special github actions format instead).
To reproduce
having setup paths etc run
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
Expected behavior
Script installs Linux_x64bit release from github
Arduino CLI version
0.35.0
Operating system
Linux
Operating system version
23.04 maybe? github actions ubuntu-latest
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: