ci: VCPKG_SYSTEM_LIBRARIES off, cache emsdk, raw jq output

This commit is contained in:
2025-07-23 23:18:30 -05:00
parent 434b62b036
commit dc3c4a7580

View File

@@ -11,6 +11,8 @@ env:
jobs:
build:
name: Build (${{ matrix.target }})
env:
VCPKG_SYSTEM_LIBRARIES: "OFF"
strategy:
fail-fast: false
matrix:
@@ -55,7 +57,7 @@ jobs:
- name: Acquire Package Version
shell: bash
run: |
PACKAGE_VERSION=$(cargo metadata --format-version 1 --no-deps | jq '.packages[0].version')
PACKAGE_VERSION=$(cargo metadata --format-version 1 --no-deps | jq '.packages[0].version' -r)
echo "PACKAGE_VERSION=${PACKAGE_VERSION}" >> $GITHUB_ENV
- name: Upload Artifact
@@ -81,6 +83,7 @@ jobs:
uses: mymindstorm/setup-emsdk@v14
with:
version: 3.1.43
actions-cache-folder: "emsdk-cache"
- name: Setup Rust (WASM32 Emscripten)
uses: dtolnay/rust-toolchain@master