File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 1919 - name : Checkout
2020 uses : actions/checkout@master
2121
22+ - name : Get current date
23+ id : date
24+ run : echo "date=$(date +'%b_%d_%Y')" >> $GITHUB_OUTPUT
25+
26+ - name : Get current date
27+ id : dateNoScores
28+ run : echo "dateNoScores=$(date +'%b %d %Y')" >> $GITHUB_OUTPUT
29+
30+ - name : Extract branch name
31+ run : echo "BRANCH=${{github.ref_name}}" >> $GITHUB_ENV
32+
2233 # File_Name_v3_1.bin
2334 # File_Name_RC-Jan_26_2023.bin
2435 - name : Create file ending and compiler flags based on branch
8293 run : arduino-cli compile --fqbn esp32:esp32:esp32 ./Firmware/RTK_Surveyor/RTK_Surveyor.ino
8394 --build-property build.partitions=partitions
8495 --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 }}\""
96+ --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 }}\""
8697 --export-binaries
8798
88- - name : Get current date
89- id : date
90- run : echo "date=$(date +'%b_%d_%Y')" >> $GITHUB_OUTPUT
91-
92- - name : Get current date
93- id : dateNoScores
94- run : echo "dateNoScores=$(date +'%b %d %Y')" >> $GITHUB_OUTPUT
95-
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