Compare commits

...

2 Commits

View File

@@ -11,6 +11,8 @@ env:
jobs:
build:
name: Build (${{ matrix.target }})
env:
VCPKG_SYSTEM_LIBRARIES: "OFF"
strategy:
fail-fast: false
matrix:
@@ -52,14 +54,10 @@ jobs:
- name: Build
run: cargo build --release
- name: Install Cargo Binstall
uses: cargo-bins/cargo-binstall@main
- name: Acquire Package Version
shell: bash
run: |
cargo binstall toml-cli -y --no-cleanup --maximum-resolution-timeout 25
PACKAGE_VERSION=$(toml get ./Cargo.toml package.version --raw)
PACKAGE_VERSION=$(cargo metadata --format-version 1 --no-deps | jq '.packages[0].version' -r)
echo "PACKAGE_VERSION=${PACKAGE_VERSION}" >> $GITHUB_ENV
- name: Upload Artifact
@@ -85,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