Skip to content

Commit 31b312a

Browse files
committed
Fix actions
1 parent 5134fb4 commit 31b312a

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/compile-rc.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121

2222
- name: Setup Arduino CLI
2323
uses: arduino/setup-arduino-cli@v1
24-
with:
25-
version: "0.27.0"
2624

27-
#We limit the ESP32 core to v2.0.2. See: https://github.com/sparkfun/SparkFun_RTK_Firmware/issues/334
25+
- name: Start config file
26+
run: arduino-cli config init --additional-urls "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"
27+
28+
- name: Update index
29+
run: arduino-cli core update-index
30+
31+
#We limit the ESP32 core to v2.0.2
2832
- name: Install platform
2933
run: arduino-cli core install esp32:[email protected]
30-
--additional-urls "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"
31-
32-
- name: Start config file
33-
run: arduino-cli config init
3434

3535
- name: Enable external libs
3636
run: arduino-cli config set library.enable_unsafe_install true
@@ -65,7 +65,7 @@ jobs:
6565

6666
- name: Get current date
6767
id: date
68-
run: echo "::set-output name=date::$(date +'%b_%d_%Y')"
68+
run: echo "date=$(date +'%b_%d_%Y')" >> $GITHUB_OUTPUT
6969

7070
- name: Rename binary
7171
run: |

.github/workflows/compile-release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ jobs:
2020

2121
- name: Setup Arduino CLI
2222
uses: arduino/setup-arduino-cli@v1
23-
with:
24-
version: "0.27.0"
2523

26-
#We limit the ESP32 core to v2.0.2. See: https://github.com/sparkfun/SparkFun_RTK_Firmware/issues/334
24+
- name: Start config file
25+
run: arduino-cli config init --additional-urls "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"
26+
27+
- name: Update index
28+
run: arduino-cli core update-index
29+
30+
#We limit the ESP32 core to v2.0.2
2731
- name: Install platform
2832
run: arduino-cli core install esp32:[email protected]
29-
--additional-urls 'https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json'
30-
31-
- name: Start config file
32-
run: arduino-cli config init
3333

3434
- name: Enable external libs
3535
run: arduino-cli config set library.enable_unsafe_install true
@@ -64,7 +64,7 @@ jobs:
6464

6565
- name: Get current date
6666
id: date
67-
run: echo "::set-output name=date::$(date +'%b_%d_%Y')"
67+
run: echo "date=$(date +'%b_%d_%Y')" >> $GITHUB_OUTPUT
6868

6969
- name: Rename binary
7070
run: |

0 commit comments

Comments
 (0)