Attemp to force python3
This commit is contained in:
parent
ab6c9461f8
commit
7d7876e26a
2 changed files with 4 additions and 2 deletions
4
.github/workflows/githubci.yml
vendored
4
.github/workflows/githubci.yml
vendored
|
|
@ -9,6 +9,10 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.x' # Version range or exact version of a Python version to use, using semvers version range syntax.
|
||||
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
|
||||
- name: pre-install
|
||||
run: |
|
||||
source install.sh
|
||||
|
|
|
|||
|
|
@ -138,8 +138,6 @@ if [[ $INSTALL_NRF52 == 1 ]]; then
|
|||
pip3 install --user setuptools
|
||||
pip3 install --user adafruit-nrfutil
|
||||
pip3 install --user pyserial
|
||||
pip install --user setuptools
|
||||
pip install --user pyserial
|
||||
DEPENDENCY_OUTPUT=$(arduino --install-boards adafruit:nrf52 2>&1)
|
||||
if [ $? -ne 0 ]; then echo -e "\xe2\x9c\x96 OR CACHED"; else echo -e """$GREEN""\xe2\x9c\x93"; fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue