diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 669a38fac..735b4fc23 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -9,13 +9,13 @@ jobs: steps: - name: Checkout code id: checkout-code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 - name: Setup problem matcher - uses: Joshua-Ashton/gcc-problem-matcher@v2 + uses: Joshua-Ashton/gcc-problem-matcher@v3 - name: Build release id: build-release @@ -28,9 +28,9 @@ jobs: - name: Upload artifacts id: upload-artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: dxvk-${{ env.VERSION_NAME }} + name: dxvk-win-${{ env.VERSION_NAME }} path: build/dxvk-${{ env.VERSION_NAME }} if-no-files-found: error @@ -41,13 +41,13 @@ jobs: steps: - name: Checkout code id: checkout-code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 - name: Setup problem matcher - uses: Joshua-Ashton/gcc-problem-matcher@v2 + uses: Joshua-Ashton/gcc-problem-matcher@v3 - name: Build release id: build-release @@ -59,8 +59,25 @@ jobs: - name: Upload artifacts id: upload-artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: dxvk-${{ env.VERSION_NAME }} + name: dxvk-native-${{ env.VERSION_NAME }} path: build/dxvk-native-${{ env.VERSION_NAME }}.tar.gz if-no-files-found: error + + merge-artifacts: + runs-on: ubuntu-20.04 + needs: [artifacts-mingw-w64, artifacts-steamrt-sniper] + steps: + - name: Get version + id: get-version + shell: bash + run: | + echo "VERSION_NAME=${GITHUB_REF##*/}-${GITHUB_SHA##*/}" >> $GITHUB_ENV + + - name: Merge Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: dxvk-${{ env.VERSION_NAME }} + pattern: dxvk* + delete-merged: true diff --git a/.github/workflows/test-build-windows.yml b/.github/workflows/test-build-windows.yml index 6d8489ad3..503bd4805 100644 --- a/.github/workflows/test-build-windows.yml +++ b/.github/workflows/test-build-windows.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Checkout code id: checkout-code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive