Skip to content

Commit 7d7876e

Browse files
committed
Attemp to force python3
1 parent ab6c946 commit 7d7876e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/githubci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v1
12+
- uses: actions/setup-python@v1
13+
with:
14+
python-version: '3.x' # Version range or exact version of a Python version to use, using semvers version range syntax.
15+
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
1216
- name: pre-install
1317
run: |
1418
source install.sh

install.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ if [[ $INSTALL_NRF52 == 1 ]]; then
138138
pip3 install --user setuptools
139139
pip3 install --user adafruit-nrfutil
140140
pip3 install --user pyserial
141-
pip install --user setuptools
142-
pip install --user pyserial
143141
DEPENDENCY_OUTPUT=$(arduino --install-boards adafruit:nrf52 2>&1)
144142
if [ $? -ne 0 ]; then echo -e "\xe2\x9c\x96 OR CACHED"; else echo -e """$GREEN""\xe2\x9c\x93"; fi
145143
fi

0 commit comments

Comments
 (0)