From 619477cbd172645ce7b9398af62d4521f320ef65 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Mon, 2 May 2022 12:26:45 +0300 Subject: [PATCH] Rename uploaded files with source branch in workflows --- .github/workflows/lv_sim.yml | 4 ++-- .github/workflows/main.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lv_sim.yml b/.github/workflows/lv_sim.yml index 45408bd1..aa71260f 100644 --- a/.github/workflows/lv_sim.yml +++ b/.github/workflows/lv_sim.yml @@ -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 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 94d829a9..151d2d8d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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