Attemp to force python3

This commit is contained in:
BenoitAnastay 2019-12-16 20:27:39 +01:00
parent ab6c9461f8
commit 7d7876e26a
2 changed files with 4 additions and 2 deletions

View file

@ -9,6 +9,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - 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 - name: pre-install
run: | run: |
source install.sh source install.sh

View file

@ -138,8 +138,6 @@ if [[ $INSTALL_NRF52 == 1 ]]; then
pip3 install --user setuptools pip3 install --user setuptools
pip3 install --user adafruit-nrfutil pip3 install --user adafruit-nrfutil
pip3 install --user pyserial pip3 install --user pyserial
pip install --user setuptools
pip install --user pyserial
DEPENDENCY_OUTPUT=$(arduino --install-boards adafruit:nrf52 2>&1) 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 if [ $? -ne 0 ]; then echo -e "\xe2\x9c\x96 OR CACHED"; else echo -e """$GREEN""\xe2\x9c\x93"; fi
fi fi