fix: ubuntu 24 not found

This commit is contained in:
TaurusXin
2025-10-04 16:18:03 +08:00
parent fb80d99cad
commit ebf8743d78
2 changed files with 18 additions and 70 deletions
+9 -5
View File
@@ -97,18 +97,22 @@ jobs:
- name: Configure CMake
run: |
$toolchainFile = "${{ steps.vcpkg.outputs.vcpkgToolchainFile }}"
cmake -B ${{github.workspace}}/build \
-DCMAKE_TOOLCHAIN_FILE=$toolchainFile \
-DCMAKE_TOOLCHAIN_FILE={{ steps.vcpkg.outputs.vcpkgToolchainFile }} \
-DVCPKG_TARGET_TRIPLET={{VCPKG_TRIPLET}} \
-S ${{github.workspace}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config Release
- name: Upload Windows Artifact
- name: Upload Windows Executable Artifact
uses: actions/upload-artifact@v4
with:
name: build-artifact-windows
path: ${{github.workspace}}/build/ncmdump
path: ${{github.workspace}}/build/ncmdump.exe
- name: Upload Windows Library Artifact
uses: actions/upload-artifact@v4
with:
name: build-artifact-windows
path: ${{github.workspace}}/build/libncmdump.dll