[CI] Syntax fix

This commit is contained in:
Jan Gromeš 2020-08-22 09:37:17 +02:00 committed by GitHub
parent 63b8d07abc
commit 051563aa73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install dependencies - name: Install dependencies
- run: | run: |
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
export PATH=$PATH:$PWD/bin export PATH=$PATH:$PWD/bin
arduino-cli core update-index; arduino-cli core update-index;
@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build all examples - name: Build all examples
- run: | run: |
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 "$SKIP_PAT" ] && [[ ${example} =~ $SKIP_PAT ]]; then if [ ! -z "$SKIP_PAT" ] && [[ ${example} =~ $SKIP_PAT ]]; then
@ -44,14 +44,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install Doxygen - name: Install Doxygen
- run: | run: |
sudo apt-get update; sudo apt-get update;
sudo apt-get install -y doxygen; sudo apt-get install -y doxygen;
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Generate docs - name: Generate docs
- run: doxygen Doxyfile run: doxygen Doxyfile
- uses: JamesIves/github-pages-deploy-action@releases/v3 - uses: JamesIves/github-pages-deploy-action@releases/v3
with: with: