[CI] Moved board install
This commit is contained in:
parent
eb329f2690
commit
5aa0a87bf0
1 changed files with 7 additions and 4 deletions
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
@ -11,15 +11,18 @@ jobs:
|
|||
Arduino-Uno:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
- name: Install arduino-cli
|
||||
run: |
|
||||
mkdir -p ~/.local/bin
|
||||
echo "::add-path::~/.local/bin"
|
||||
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/.local/bin sh
|
||||
export PATH=$PATH:$PWD/bin
|
||||
arduino-cli core update-index;
|
||||
arduino-cli core install arduino:avr;
|
||||
export WARNINGS=all;
|
||||
|
||||
- name: Install board
|
||||
run: |
|
||||
arduino-cli core update-index
|
||||
arduino-cli core install arduino:avr
|
||||
export WARNINGS=all
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue