[CI] Another attempt to fix nrfutil CI_FORCE_BUILD

This commit is contained in:
Jan Gromeš 2020-08-22 14:39:02 +02:00 committed by GitHub
parent 06b2f5c419
commit 0a725df3fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,6 +66,7 @@ jobs:
sudo apt-get install -y python3 python3-pip python3-setuptools
pip3 install wheel
pip3 install --user adafruit-nrfutil
echo "::add-path::~/.local/bin"
echo "::set-output name=index-url::--additional-urls https://www.adafruit.com/package_adafruit_index.json"
fi
@ -83,10 +84,6 @@ jobs:
- name: Build examples
if: ${{ env.run-build == 'true' }}
run: |
if [[ "${{ contains(matrix.board, 'adafruit:nrf52') }}" == "true" ]]; then
echo "::add-path::~/.local/bin/adafruit-nrfutil"
fi
for example in $(find $PWD/examples -name '*.ino' | sort); do
# check whether to skip this sketch
if [ ! -z "${{ steps.prep.outputs.skip-path }}" ] && [[ ${example} =~ '${{ steps.prep.outputs.skip-path }}' ]]; then