From 4a9ff876a501a640876c0e3109b2b780a45e077d Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sun, 2 Feb 2025 09:07:50 -0700 Subject: [PATCH] Fix artifact uploading --- .github/workflows/build.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 64dbe097..fcf7907e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,15 +80,26 @@ jobs: - name: Upload Build Artifacts (MSVC (32-bit)) if: ${{ matrix.toolchain.name == 'MSVC (32-bit, Release)' || matrix.toolchain.name == 'MSVC (32-bit, Debug)' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@main with: - name: msvc32-artifacts + name: msvc32-artifacts-${{ matrix.toolchain.name }} path: | build/isle-portable (${{ matrix.toolchain.name }}).zip + merge-artifacts: + name: 'Merge artifacts' + runs-on: ubuntu-latest + needs: build-current-toolchain + steps: + - name: Merge Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: msvc32-artifacts + pattern: msvc32-artifacts-* + upload: name: 'Upload artifacts' - needs: build-current-toolchain + needs: merge-artifacts runs-on: ubuntu-latest if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'isledecomp/isle-portable' }} steps: