Skip to content

Commit 2b07e48

Browse files
committed
Add files to release actions
1 parent 4ce5333 commit 2b07e48

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/compile-rc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ jobs:
8181
cd esp32.esp32.esp32
8282
mv RTK_Surveyor.ino.bin ${{ env.FILENAME_PREFIX }}${{ env.RC_PREFIX }}${{ steps.date.outputs.date }}.bin
8383
84+
- name: Upload binary to action
85+
uses: actions/upload-artifact@v3
86+
with:
87+
name: ${{ env.FILENAME_PREFIX }}${{ env.RC_PREFIX }}${{ steps.date.outputs.date }}
88+
path: ./Firmware/RTK_Surveyor/build/esp32.esp32.esp32/${{ env.FILENAME_PREFIX }}${{ env.RC_PREFIX }}${{ steps.date.outputs.date }}.bin
89+
8490
- name: Push binary to Binaries Repo
8591
uses: dmnemec/copy_file_to_another_repo_action@main
8692
env:

.github/workflows/compile-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ jobs:
8080
cd esp32.esp32.esp32
8181
mv RTK_Surveyor.ino.bin ${{ env.FILENAME_PREFIX }}${{ env.VERSION_MAJOR }}_${{ env.VERSION_MINOR }}.bin
8282
83+
- name: Upload binary to action
84+
uses: actions/upload-artifact@v3
85+
with:
86+
name: ${{ env.FILENAME_PREFIX }}
87+
path: ./Firmware/RTK_Surveyor/build/esp32.esp32.esp32/${{ env.FILENAME_PREFIX }}${{ env.VERSION_MAJOR }}_${{ env.VERSION_MINOR }}.bin
88+
8389
- name: Push binary to Binaries Repo
8490
uses: dmnemec/copy_file_to_another_repo_action@main
8591
env:

0 commit comments

Comments
 (0)