Skip to content

Commit 9793a69

Browse files
committed
Add workflow yml CORE_VERSION
1 parent 9874187 commit 9793a69

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/non-release-build_v3.0.0.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ env:
99
FIRMWARE_VERSION_MINOR: 99
1010
POINTPERFECT_LBAND_TOKEN: ${{ secrets.POINTPERFECT_LBAND_TOKEN }}
1111
POINTPERFECT_IP_TOKEN: ${{ secrets.POINTPERFECT_IP_TOKEN }}
12+
CORE_VERSION: 3.0.0
1213

1314
jobs:
1415
build:
@@ -65,7 +66,7 @@ jobs:
6566

6667
# We need v3.0.1-rc1 to fix the WiFiMulti.run timeout issue - but it is not yet available
6768
#- name: Install platform
68-
# run: arduino-cli core install esp32:esp32@3.0.1-rc1
69+
# run: arduino-cli core install esp32:esp32@${{ env.CORE_VERSION }}
6970

7071
# So, right now, we need to use v3.0.0 and patch it
7172
- name: Install platform
@@ -130,7 +131,7 @@ jobs:
130131

131132
- name: Copy custom RTKEverywhere.csv
132133
run:
133-
cp Firmware/RTKEverywhere.csv /home/runner/.arduino15/packages/esp32/hardware/esp32/2.0.11/tools/partitions/RTKEverywhere.csv
134+
cp Firmware/RTKEverywhere.csv /home/runner/.arduino15/packages/esp32/hardware/esp32/${{ env.CORE_VERSION }}/tools/partitions/RTKEverywhere.csv
134135

135136
- name: Compile Sketch
136137
run: arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=${{ env.DEBUG_LEVEL }},PSRAM=enabled ./Firmware/RTK_Everywhere/RTK_Everywhere.ino

0 commit comments

Comments
 (0)