Upload ELFs to update server (#457)

This commit is contained in:
rusdacent 2021-05-10 13:14:33 +03:00 committed by GitHub
parent 6f58a53dc0
commit 29d10e1b0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,8 +70,10 @@ jobs:
run: | run: |
mv bootloader/.obj/${TARGET_VERSION}/bootloader.dfu bootloader.dfu mv bootloader/.obj/${TARGET_VERSION}/bootloader.dfu bootloader.dfu
mv bootloader/.obj/${TARGET_VERSION}/bootloader.bin bootloader.bin mv bootloader/.obj/${TARGET_VERSION}/bootloader.bin bootloader.bin
mv bootloader/.obj/${TARGET_VERSION}/bootloader.elf bootloader.elf
mv firmware/.obj/${TARGET_VERSION}/firmware.dfu firmware.dfu mv firmware/.obj/${TARGET_VERSION}/firmware.dfu firmware.dfu
mv firmware/.obj/${TARGET_VERSION}/firmware.bin firmware.bin mv firmware/.obj/${TARGET_VERSION}/firmware.bin firmware.bin
mv firmware/.obj/${TARGET_VERSION}/firmware.elf firmware.elf
- name: Generate full dfu file - name: Generate full dfu file
uses: ./.github/actions/docker uses: ./.github/actions/docker
@ -120,7 +122,7 @@ jobs:
remote_key: ${{ secrets.RSYNC_DEPLOY_KEY }} remote_key: ${{ secrets.RSYNC_DEPLOY_KEY }}
- name: Generate files list - name: Generate files list
run: ls bootloader.dfu firmware.dfu full.dfu bootloader.bin firmware.bin full.bin > uploadlist.txt run: ls bootloader.dfu firmware.dfu full.dfu bootloader.bin firmware.bin full.bin bootloader.elf firmware.elf > uploadlist.txt
- name: Upload artifacts - name: Upload artifacts
uses: burnett01/rsync-deployments@4.1 uses: burnett01/rsync-deployments@4.1