ci(install): Change "arch" to distro-agnostic "uname -m" (#9537)
This commit is contained in:
parent
ae0dc17339
commit
86b3163c62
2 changed files with 2 additions and 2 deletions
2
.github/scripts/install-arduino-cli.sh
vendored
2
.github/scripts/install-arduino-cli.sh
vendored
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
OSBITS=`arch`
|
||||
OSBITS=`uname -m`
|
||||
if [[ "$OSTYPE" == "linux"* ]]; then
|
||||
export OS_IS_LINUX="1"
|
||||
if [[ "$OSBITS" == "i686" ]]; then
|
||||
|
|
|
|||
2
.github/scripts/install-arduino-ide.sh
vendored
2
.github/scripts/install-arduino-ide.sh
vendored
|
|
@ -4,7 +4,7 @@
|
|||
#OSTYPE: 'msys', ARCH: 'x86_64' => win32
|
||||
#OSTYPE: 'darwin18', ARCH: 'i386' => macos
|
||||
|
||||
OSBITS=`arch`
|
||||
OSBITS=`uname -m`
|
||||
if [[ "$OSTYPE" == "linux"* ]]; then
|
||||
export OS_IS_LINUX="1"
|
||||
ARCHIVE_FORMAT="tar.xz"
|
||||
|
|
|
|||
Loading…
Reference in a new issue