File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 19
19
- name : Checkout
20
20
uses : actions/checkout@master
21
21
22
+ - name : Extract branch name
23
+ run : echo "BRANCH=${{github.ref_name}}" >> $GITHUB_ENV
24
+
22
25
# File_Name_v3_1.bin
23
26
# File_Name_RC-Jan_26_2023.bin
24
27
- name : Create file ending and compiler flags based on branch
82
85
run : arduino-cli compile --fqbn esp32:esp32:esp32 ./Firmware/RTK_Surveyor/RTK_Surveyor.ino
83
86
--build-property build.partitions=partitions
84
87
--build-property upload.maximum_size=3145728
85
- --build-property "compiler.cpp.extra_flags=\"-DPOINTPERFECT_TOKEN=$POINTPERFECT_TOKEN\" \"-DFIRMWARE_VERSION_MAJOR=$FIRMWARE_VERSION_MAJOR\" \"-DFIRMWARE_VERSION_MINOR=$FIRMWARE_VERSION_MINOR\" \"-DENABLE_DEVELOPER=${{ env.ENABLE_DEVELOPER }}\""
88
+ --build-property "compiler.cpp.extra_flags=\"-DPOINTPERFECT_TOKEN=$POINTPERFECT_TOKEN\" \"-DFIRMWARE_VERSION_MAJOR=$FIRMWARE_VERSION_MAJOR\" \"-DFIRMWARE_VERSION_MINOR=$FIRMWARE_VERSION_MINOR\" \"-DENABLE_DEVELOPER=${{ env.ENABLE_DEVELOPER }}\""
86
89
--export-binaries
87
90
88
91
- name : Get current date
93
96
id : dateNoScores
94
97
run : echo "dateNoScores=$(date +'%b %d %Y')" >> $GITHUB_OUTPUT
95
98
96
- - name : Extract branch name
97
- run : echo "BRANCH=${{github.ref_name}}" >> $GITHUB_ENV
98
-
99
99
- name : Rename binary
100
100
run : |
101
101
cd Firmware/RTK_Surveyor/build/esp32.esp32.esp32/
You can’t perform that action at this time.
0 commit comments