Rename uploaded files with source branch in workflows

This commit is contained in:
Riku Isokoski 2022-05-02 12:26:45 +03:00 committed by JF
parent cc2d5c39ce
commit 619477cbd1
2 changed files with 6 additions and 6 deletions

View file

@ -60,7 +60,7 @@ jobs:
cmake --build build_lv_sim cmake --build build_lv_sim
- name: Upload simulator executable - name: Upload simulator executable
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: infinisim name: infinisim-${{ github.head_ref }}
path: build_lv_sim/infinisim path: build_lv_sim/infinisim

View file

@ -34,14 +34,14 @@ jobs:
run: | run: |
/opt/build.sh all /opt/build.sh all
- name: Upload DFU artifacts - name: Upload DFU artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: InfiniTime DFU file name: InfiniTime DFU ${{ github.head_ref }}
path: | path: |
./build/output/pinetime-mcuboot-app-dfu-*.zip ./build/output/pinetime-mcuboot-app-dfu-*.zip
- name: Upload MCUBoot image artifacts - name: Upload MCUBoot image artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: InfiniTime MCUBoot image file name: InfiniTime MCUBoot image ${{ github.head_ref }}
path: | path: |
./build/output/pinetime-mcuboot-app-image-*.bin ./build/output/pinetime-mcuboot-app-image-*.bin