8000 IDE_VERSION --> CLI_VERSION · jobitjoseph/arduinoWebSockets@92480b8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 92480b8

Browse files
committed
IDE_VERSION --> CLI_VERSION
1 parent da7efc7 commit 92480b8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ jobs:
5555
strategy:
5656
fail-fast: false
5757
matrix:
58-
IDE_VERSION: [0.35.0]
58+
CLI_VERSION: [0.35.0]
5959
env:
60-
IDE_VERSION: ${{ matrix.IDE_VERSION }}
60+
CLI_VERSION: ${{ matrix.CLI_VERSION }}
6161
ARDUINO_DIRECTORIES_DATA: /home/runner/arduino_ide
6262

6363
steps:
@@ -75,13 +75,13 @@ jobs:
7575
path: |
7676
/home/runner/arduino_ide
7777
/home/runner/Arduino
78-
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ matrix.IDE_VERSION }}-cli
78+
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ matrix.CLI_VERSION }}-cli
7979

8080
- name: download IDE
8181
if: steps.cache_all.outputs.cache-hit != 'true'
8282
run: |
83-
wget https://github.com/arduino/arduino-cli/releases/download/v$IDE_VERSION/arduino-cli$IDE_VERSION_Linux_64bit.tar.gz -q
84-
tar xf arduino-cli_$IDE_VERSION_Linux_64bit.tar.gz
83+
wget https://github.com/arduino/arduino-cli/releases/download/v${CLI_VERSION}/arduino-cli${CLI_VERSION}_Linux_64bit.tar.gz -q
84+
tar xf arduino-cli_${CLI_VERSION}_Linux_64bit.tar.gz
8585
mkdir -p $ARDUINO_DIRECTORIES_DATA
8686
mv arduino-cli $ARDUINO_DIRECTORIES_DATA/
8787
@@ -110,7 +110,7 @@ jobs:
110110
env:
111111
CPU: ${{ matrix.cpu }}
112112
BOARD: ${{ matrix.board }}
113-
IDE_VERSION: ${{ matrix.ideversion }}
113+
CLI_VERSION: ${{ matrix.cliversion }}
114114
SKETCH: ${{ matrix.sketch }}
115115
ARDUINO_DIRECTORIES_DATA: /home/runner/arduino_ide
116116

@@ -134,7 +134,7 @@ jobs:
134134
path: |
135135
/home/runner/arduino_ide
136136
/home/runner/Arduino
137-
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ matrix.ideversion }}-cli
137+
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ matrix.cliversion }}-cli
138138

139139
- name: install python serial
140140
if: matrix.cpu == 'esp32'

travis/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function get_sketches_json_matrix()
8888
local arduino=$1
8989
local srcpath=$2
9090
local platform=$3
91-
local ideversion=$4
91+
local cliversion=$4
9292
local board=$5
9393
local sketches=($(find $srcpath -name *.ino))
9494
for sketch in "${sketches[@]}" ; do
@@ -97,7 +97,7 @@ function get_sketches_json_matrix()
9797
if [[ -f "$sketchdir/.$platform.skip" ]]; then
9898
continue
9999
fi
100-
echo -en "{\"name\":\"$sketchname\",\"board\":\"$board\",\"ideversion\":\"$ideversion\",\"cpu\":\"$platform\",\"sketch\":\"$sketch\"}"
100+
echo -en "{\"name\":\"$sketchname\",\"board\":\"$board\",\"cliversion\":\"$cliversion\",\"cpu\":\"$platform\",\"sketch\":\"$sketch\"}"
101101
if [[ $sketch != ${sketches[-1]} ]] ; then
102102
echo -en ","
103103
fi

0 commit comments

Comments
 (0)
0