[CI] Another attempt to fix nrfutil CI_FORCE_BUILD
This commit is contained in:
parent
06b2f5c419
commit
0a725df3fc
1 changed files with 1 additions and 4 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -66,6 +66,7 @@ jobs:
|
||||||
sudo apt-get install -y python3 python3-pip python3-setuptools
|
sudo apt-get install -y python3 python3-pip python3-setuptools
|
||||||
pip3 install wheel
|
pip3 install wheel
|
||||||
pip3 install --user adafruit-nrfutil
|
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"
|
echo "::set-output name=index-url::--additional-urls https://www.adafruit.com/package_adafruit_index.json"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -83,10 +84,6 @@ jobs:
|
||||||
- name: Build examples
|
- name: Build examples
|
||||||
if: ${{ env.run-build == 'true' }}
|
if: ${{ env.run-build == 'true' }}
|
||||||
run: |
|
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
|
for example in $(find $PWD/examples -name '*.ino' | sort); do
|
||||||
# check whether to skip this sketch
|
# check whether to skip this sketch
|
||||||
if [ ! -z "${{ steps.prep.outputs.skip-path }}" ] && [[ ${example} =~ '${{ steps.prep.outputs.skip-path }}' ]]; then
|
if [ ! -z "${{ steps.prep.outputs.skip-path }}" ] && [[ ${example} =~ '${{ steps.prep.outputs.skip-path }}' ]]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue