@@ -37,13 +37,13 @@ jobs:
37
37
echo -en "matrix=" >> $GITHUB_OUTPUT
38
38
echo -en "[" >> $GITHUB_OUTPUT
39
39
40
- get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp8266_pico esp8266 0.35.0 esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=80,FlashMode=qio,eesz=4M2M,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Serial1,lvl=SSL,wipe=none,baud=115200 >> $GITHUB_OUTPUT
40
+ get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp8266_pico esp8266 0.35.3 esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=80,FlashMode=qio,eesz=4M2M,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Serial1,lvl=SSL,wipe=none,baud=115200 >> $GITHUB_OUTPUT
41
41
echo -en "," >> $GITHUB_OUTPUT
42
42
43
- get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp8266_pico esp8266 0.35.0 esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=80,FlashMode=qio,eesz=4M2M,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 >> $GITHUB_OUTPUT
43
+ get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp8266_pico esp8266 0.35.3 esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=80,FlashMode=qio,eesz=4M2M,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 >> $GITHUB_OUTPUT
44
44
echo -en "," >> $GITHUB_OUTPUT
45
45
46
- get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp32 esp32 0.35.0 esp32:esp32:esp32:FlashFreq=80 >> $GITHUB_OUTPUT
46
+ get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp32 esp32 0.35.3 esp32:esp32:esp32:FlashFreq=80 >> $GITHUB_OUTPUT
47
47
48
48
echo -en "]" >> $GITHUB_OUTPUT
49
49
echo >> $GITHUB_OUTPUT
@@ -55,18 +55,18 @@ jobs:
55
55
strategy :
56
56
fail-fast : false
57
57
matrix :
58
- CLI_VERSION : [0.35.0 ]
58
+ CLI_VERSION : [0.35.3 ]
59
59
env :
60
60
CLI_VERSION : ${{ matrix.CLI_VERSION }}
61
61
ARDUINO_DIRECTORIES_DATA : /home/runner/arduino_ide
62
62
63
63
steps :
64
64
- uses : actions/checkout@v2
65
65
66
- - name : Get Date
67
- id : get-date
66
+ - name : Get hash
67
+ id : get-hash
68
68
run : |
69
- echo "date =$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
69
+ echo "hash =$(/bin/date -u "+%Y%m%d")-$(md5sum ".github/workflows/main.yml" | cut -d ' ' -f 1 )" >> $GITHUB_OUTPUT
70
70
shell : bash
71
71
72
72
- uses : actions/cache@v3
75
75
path : |
76
76
/home/runner/arduino_ide
77
77
/home/runner/Arduino
78
- key : ${{ runner.os }}-${{ steps.get-date .outputs.date }}-${{ matrix.CLI_VERSION }}-cli
78
+ key : ${{ runner.os }}-${{ steps.get-hash .outputs.hash }}-${{ matrix.CLI_VERSION }}-cli
79
79
80
80
- name : download IDE
81
81
if : steps.cache_all.outputs.cache-hit != 'true'
@@ -122,10 +122,10 @@ jobs:
122
122
run : |
123
123
sudo apt-get install -y libgtk2.0-0
124
124
125
- - name : Get Date
126
- id : get-date
125
+ - name : Get hash
126
+ id : get-hash
127
127
run : |
128
- echo "date =$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
128
+ echo "hash =$(/bin/date -u "+%Y%m%d")-$(md5sum ".github/workflows/main.yml" | cut -d ' ' -f 1 )" >> $GITHUB_OUTPUT
129
129
shell : bash
130
130
131
131
- uses : actions/cache@v3
@@ -134,7 +134,7 @@ jobs:
134
134
path : |
135
135
/home/runner/arduino_ide
136
136
/home/runner/Arduino
137
- key : ${{ runner.os }}-${{ steps.get-date .outputs.date }}-${{ matrix.cliversion }}-cli
137
+ key : ${{ runner.os }}-${{ steps.get-hash .outputs.hash }}-${{ matrix.cliversion }}-cli
138
138
139
139
- name : install python serial
140
140
if : matrix.cpu == 'esp32'
0 commit comments