CI: fix missing server-build-deps artifact
This commit is contained in:
@@ -47,7 +47,7 @@ jobs:
|
|||||||
--preset ${{ matrix.cmake_preset }}
|
--preset ${{ matrix.cmake_preset }}
|
||||||
|
|
||||||
- name: Package build dependencies
|
- 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
|
# 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
|
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}}
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||||
|
|
||||||
- name: Publish build dependencies
|
- name: Publish build dependencies
|
||||||
if: ${{ matrix.buildtype == 'server' }}
|
if: ${{ matrix.cmake_preset == 'server' }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: server-build-deps
|
name: server-build-deps
|
||||||
@@ -64,7 +64,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Release build dependencies
|
- name: Release build dependencies
|
||||||
uses: softprops/action-gh-release@v2
|
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:
|
with:
|
||||||
tag_name: ${{ inputs.ref }}
|
tag_name: ${{ inputs.ref }}
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user