From 7536a6edc66f622b0c64a3faeaa6faea69873f47 Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Sun, 16 Jun 2024 00:10:21 +0300 Subject: [PATCH] ci: fixes for {upload,download}-artifact v4 ref. https://github.com/actions/download-artifact/blob/main/docs/MIGRATION.md https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md uploaded .zip from build jobs now have unique names no need for {name}/ anymore when downloading --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dba4c38d3..f40cc6bf3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,7 +97,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: Build + name: Build_${{ matrix.thread }} path: Build_${{ matrix.thread }}.zip upload: @@ -110,10 +110,14 @@ jobs: - uses: actions/download-artifact@v4 with: + merge-multiple: true path: artifacts/ + pattern: Build_* - name: Unpack - run: unzip -d build "artifacts/Build/*.zip" + run: | + ls --recursive artifacts + unzip -d build "artifacts/*.zip" - name: Prepare debug info run: |