From 6f069cb354c304776823e1c1057aa5c4a2891d8a Mon Sep 17 00:00:00 2001 From: TheIronWolfModding Date: Thu, 26 Sep 2024 19:52:49 -0700 Subject: [PATCH] Revert "Update artifacts.yml" This reverts commit d89738eff2ea34bdf95a67e80e80a953000dc87b. --- .github/workflows/artifacts.yml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 6e43b14474c..735b4fc232f 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -34,9 +34,40 @@ jobs: path: build/dxvk-${{ env.VERSION_NAME }} if-no-files-found: error + artifacts-steamrt-sniper: + runs-on: ubuntu-20.04 + container: registry.gitlab.steamos.cloud/steamrt/sniper/sdk:beta + + steps: + - name: Checkout code + id: checkout-code + uses: actions/checkout@v4 + with: + submodules: recursive + fetch-depth: 0 + + - name: Setup problem matcher + uses: Joshua-Ashton/gcc-problem-matcher@v3 + + - name: Build release + id: build-release + shell: bash + run: | + export VERSION_NAME="${GITHUB_REF##*/}-${GITHUB_SHA##*/}" + ./package-native.sh ${VERSION_NAME} build + echo "VERSION_NAME=${VERSION_NAME}" >> $GITHUB_ENV + + - name: Upload artifacts + id: upload-artifacts + uses: actions/upload-artifact@v4 + with: + 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] + needs: [artifacts-mingw-w64, artifacts-steamrt-sniper] steps: - name: Get version id: get-version