CI: fix missing server-build-deps artifact

This commit is contained in:
Guillaume Meunier
2024-10-14 23:12:50 +02:00
parent a8313d9479
commit 3df9a0e547
+3 -3
View File
@@ -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