From d0dd781085839aa428bc17fe61e406b47aca49e9 Mon Sep 17 00:00:00 2001 From: data-bomb Date: Sat, 27 Jan 2024 10:31:59 -0800 Subject: [PATCH] Immutability issue Upload/Download Actions - Attempt to fix breaking change in v3 to v4 upload/download actions --- .github/workflows/cicd-push.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cicd-push.yml b/.github/workflows/cicd-push.yml index d315c3a..600b56f 100644 --- a/.github/workflows/cicd-push.yml +++ b/.github/workflows/cicd-push.yml @@ -172,13 +172,13 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: dedicated-server-${{ env.GITHUB_SHA_SHORT }} - path: ${{ env.START_DIR }}/dedi + name: dedicated-server-${{ matrix.path }}-build-${{ env.GITHUB_SHA_SHORT }} + path: ${{ env.START_DIR }}/dedi/Mods/${{ matrix.path }} - uses: actions/upload-artifact@v4 with: - name: listen-server-${{ env.GITHUB_SHA_SHORT }} - path: ${{ env.START_DIR }}/listen + name: listen-server-${{ matrix.path }}-build-${{ env.GITHUB_SHA_SHORT }} + path: ${{ env.START_DIR }}/listen/Mods/${{ matrix.path }} publish: if: github.event_name == 'push' && ${{ !failure() && !cancelled() }} @@ -198,12 +198,14 @@ jobs: - uses: actions/download-artifact@v4 with: - name: dedicated-server-${{ env.GITHUB_SHA_SHORT }} + pattern: dedicated-server-* + merge-multiple: true path: release/dedi - uses: actions/download-artifact@v4 with: - name: listen-server-${{ env.GITHUB_SHA_SHORT }} + pattern: listen-server-* + merge-multiple: true path: release/listen - name: Zip Builds