Fixes #2219: use artifact v4 instead of v3

This commit is contained in:
Jozef Mlich 2025-01-10 09:06:11 +01:00 committed by mark9064
parent dbe8820834
commit de87a0dd3d
2 changed files with 7 additions and 7 deletions

View file

@ -29,7 +29,7 @@ jobs:
run: tests/test-format.sh run: tests/test-format.sh
- name: Upload patches - name: Upload patches
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
if: failure() if: failure()
with: with:
name: Patches name: Patches

View file

@ -52,22 +52,22 @@ jobs:
ref_name: ${{ github.head_ref || github.ref_name }} ref_name: ${{ github.head_ref || github.ref_name }}
run: echo "REF_NAME=${ref_name//\//-}" >> $GITHUB_ENV run: echo "REF_NAME=${ref_name//\//-}" >> $GITHUB_ENV
- name: Upload DFU artifacts - name: Upload DFU artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: InfiniTime DFU ${{ env.REF_NAME }} name: InfiniTime DFU ${{ env.REF_NAME }}
path: ./build/output/pinetime-mcuboot-app-dfu/* path: ./build/output/pinetime-mcuboot-app-dfu/*
- name: Upload MCUBoot image artifacts - name: Upload MCUBoot image artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: InfiniTime MCUBoot image ${{ env.REF_NAME }} name: InfiniTime MCUBoot image ${{ env.REF_NAME }}
path: ./build/output/pinetime-mcuboot-app-image-*.bin path: ./build/output/pinetime-mcuboot-app-image-*.bin
- name: Upload standalone ELF artifacts - name: Upload standalone ELF artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: InfiniTime image ${{ env.REF_NAME }} name: InfiniTime image ${{ env.REF_NAME }}
path: ./build/output/src/pinetime-app-*.out path: ./build/output/src/pinetime-app-*.out
- name: Upload resources artifacts - name: Upload resources artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: InfiniTime resources ${{ env.REF_NAME }} name: InfiniTime resources ${{ env.REF_NAME }}
path: ./build/output/infinitime-resources-*.zip path: ./build/output/infinitime-resources-*.zip
@ -108,7 +108,7 @@ jobs:
cmake --build build_lv_sim cmake --build build_lv_sim
- name: Upload simulator executable - name: Upload simulator executable
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: infinisim-${{ env.REF_NAME }} name: infinisim-${{ env.REF_NAME }}
path: build_lv_sim/infinisim path: build_lv_sim/infinisim
@ -208,7 +208,7 @@ jobs:
EOF EOF
- name: Upload comment - name: Upload comment
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: comment name: comment
path: comment path: comment