From 3df9a0e547e23ab439ab51e22b038e03bdb5ff43 Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Mon, 14 Oct 2024 23:06:53 +0200 Subject: [PATCH] CI: fix missing server-build-deps artifact --- .github/workflows/Build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index b81add99..af2b4e5b 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -47,7 +47,7 @@ jobs: --preset ${{ matrix.cmake_preset }} - name: Package build dependencies - if: ${{ matrix.buildtype == 'server' }} + if: ${{ matrix.cmake_preset == 'server' }} # For easier packaging, build dependencies are made available as a separate archive run: (cd build/_deps/ ; tar --create --xz *-src) > server-build-deps.tar.xz @@ -56,7 +56,7 @@ jobs: run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - name: Publish build dependencies - if: ${{ matrix.buildtype == 'server' }} + if: ${{ matrix.cmake_preset == 'server' }} uses: actions/upload-artifact@v4 with: name: server-build-deps @@ -64,7 +64,7 @@ jobs: - name: Release build dependencies uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') && matrix.buildtype == 'server' + if: startsWith(github.ref, 'refs/tags/') && matrix.cmake_preset == 'server' with: tag_name: ${{ inputs.ref }} generate_release_notes: true