Skip to content

Commit 4115a87

Browse files
committed
set-output command is deprecated
1 parent 82c357c commit 4115a87

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,20 @@ jobs:
3333
run: |
3434
source $GITHUB_WORKSPACE/travis/common.sh
3535
cd $GITHUB_WORKSPACE
36-
echo -en "::set-output name=matrix::"
37-
echo -en "["
3836
39-
get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp8266_pico esp8266 1.8.19 esp8266com: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
40-
echo -en ","
37+
echo -en "matrix=" >> $GITHUB_STATE
38+
echo -en "[" >> $GITHUB_STATE
4139
42-
get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp8266_pico esp8266 1.8.19 esp8266com: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
43-
echo -en ","
40+
get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp8266_pico esp8266 1.8.19 esp8266com: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_STATE
41+
echo -en "," >> $GITHUB_STATE
4442
45-
get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp32 esp32 1.8.19 espressif:esp32:esp32:FlashFreq=80
43+
get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp8266_pico esp8266 1.8.19 esp8266com: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_STATE
44+
echo -en "," >> $GITHUB_STATE
4645
47-
echo -en "]"
46+
get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp32 esp32 1.8.19 espressif:esp32:esp32:FlashFreq=80 >> $GITHUB_STATE
47+
48+
echo -en "]" >> $GITHUB_STATE
49+
echo >> $GITHUB_STATE
4850
outputs:
4951
matrix: ${{ steps.set-matrix.outputs.matrix }}
5052

@@ -63,7 +65,7 @@ jobs:
6365
- name: Get Date
6466
id: get-date
6567
run: |
66-
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
68+
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_STATE
6769
shell: bash
6870

6971
- uses: actions/cache@v2
@@ -125,7 +127,7 @@ jobs:
125127
- name: Get Date
126128
id: get-date
127129
run: |
128-
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
130+
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_STATE
129131
shell: bash
130132

131133
- uses: actions/cache@v2

0 commit comments

Comments
 (0)