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
- name: Upload simulator executable
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: infinisim
name: infinisim-${{ github.head_ref }}
path: build_lv_sim/infinisim

View File

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