[CI] Syntax fix
This commit is contained in:
parent
63b8d07abc
commit
051563aa73
1 changed files with 4 additions and 4 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue