File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
- name : Build RTK Everywhere ( Non-Release)
1
+ name : Non-Release Build
2
2
on :
3
3
workflow_dispatch :
4
4
branches :
@@ -145,13 +145,21 @@ jobs:
145
145
--build-property "compiler.cpp.extra_flags=\"-DPOINTPERFECT_LBAND_PAID_TOKEN=$POINTPERFECT_LBAND_PAID_TOKEN\" \"-DPOINTPERFECT_LBAND_FREE_TOKEN=$POINTPERFECT_LBAND_FREE_TOKEN\" \"-DPOINTPERFECT_IP_PAID_TOKEN=$POINTPERFECT_IP_PAID_TOKEN\" \"-DPOINTPERFECT_IP_FREE_TOKEN=$POINTPERFECT_IP_FREE_TOKEN\" \"-DFIRMWARE_VERSION_MAJOR=$FIRMWARE_VERSION_MAJOR\" \"-DFIRMWARE_VERSION_MINOR=$FIRMWARE_VERSION_MINOR\" \"-DENABLE_DEVELOPER=${{ env.ENABLE_DEVELOPER }}\""
146
146
--export-binaries
147
147
148
- - name : Rename binary
148
+ - name : Create artifact name
149
+ run : |
150
+ echo "ARTIFACT=${{ env.FILENAME_PREFIX }}${{ env.FILE_ENDING_UNDERSCORE }}" >> $GITHUB_ENV
151
+
152
+ - name : Create artifact directory
149
153
run : |
150
154
cd Firmware/RTK_Everywhere/build/esp32.esp32.esp32/
151
- mv RTK_Everywhere.ino.bin ${{ env.FILENAME_PREFIX }}${{ env.FILE_ENDING_UNDERSCORE }}.bin
155
+ mkdir ${{ env.ARTIFACT }}
156
+ mv RTK_Everywhere.ino.bin ${{ env.ARTIFACT }}
157
+ mv RTK_Everywhere.ino.bootloader.bin ${{ env.ARTIFACT }}
158
+ mv RTK_Everywhere.ino.partitions.bin ${{ env.ARTIFACT }}
152
159
153
- - name : Upload binary to action
160
+ - name : Upload artifact directory to action - avoid double-zip
154
161
uses : actions/upload-artifact@v3
155
162
with :
156
- name : ${{ env.FILENAME_PREFIX }}${{ env.FILE_ENDING_UNDERSCORE }}
157
- path : ./Firmware/RTK_Everywhere/build/esp32.esp32.esp32/${{ env.FILENAME_PREFIX }}${{ env.FILE_ENDING_UNDERSCORE }}.bin
163
+ name : ${{ env.ARTIFACT }}
164
+ path : Firmware/RTK_Everywhere/build/esp32.esp32.esp32/${{ env.ARTIFACT }}
165
+ retention-days : 7
You can’t perform that action at this time.
0 commit comments