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 1919 - name : Checkout
2020 uses : actions/checkout@master
2121
22+ - name : Extract branch name
23+ run : echo "BRANCH=${{github.ref_name}}" >> $GITHUB_ENV
24+
2225 # File_Name_v3_1.bin
2326 # File_Name_RC-Jan_26_2023.bin
2427 - name : Create file ending and compiler flags based on branch
8285 run : arduino-cli compile --fqbn esp32:esp32:esp32 ./Firmware/RTK_Surveyor/RTK_Surveyor.ino
8386 --build-property build.partitions=partitions
8487 --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 }}\""
8689 --export-binaries
8790
8891 - name : Get current date
9396 id : dateNoScores
9497 run : echo "dateNoScores=$(date +'%b %d %Y')" >> $GITHUB_OUTPUT
9598
96- - name : Extract branch name
97- run : echo "BRANCH=${{github.ref_name}}" >> $GITHUB_ENV
98-
9999 - name : Rename binary
100100 run : |
101101 cd Firmware/RTK_Surveyor/build/esp32.esp32.esp32/
You can’t perform that action at this time.
0 commit comments