From b0d47fb04eae215c6530e013e360e73d72f63a59 Mon Sep 17 00:00:00 2001 From: Andrzej Ressel Date: Sun, 10 Mar 2024 16:49:42 +0100 Subject: [PATCH] Renaming packages --- .github/workflows/build.yml | 7 ++----- run.bat | 2 +- run.sh | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 134a9005a..f2d6a6a23 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,10 +33,7 @@ jobs: - name: Build WASM support run: | cargo install cargo-component@0.9.0 --locked || cargo-component --version - cargo build --verbose - cargo component build -p pulumi_wasm --verbose - cargo component build -p pulumi_wasm_random --verbose - cargo component build -p pulumi_rust_wasm --verbose - cargo component build -p pulumi_wasm_main --verbose + cargo install wasm-tools@1.0.57 --locked || wasm-tools --version + ./run.sh - name: Run tests run: cargo test --all --verbose diff --git a/run.bat b/run.bat index ef378b7ac..47610a242 100644 --- a/run.bat +++ b/run.bat @@ -2,7 +2,7 @@ cargo component build -p wasm_common || exit /b 1 cargo component build -p pulumi_wasm || exit /b 1 cargo component build -p pulumi_wasm_provider_random || exit /b 1 cargo component build -p pulumi_wasm_example_simple || exit /b 1 -cargo build || exit /b 1 +cargo build -p pulumi_wasm_runner || exit /b 1 @REM cargo build -p pulumi_rust_wasm || exit /b @REM @REM wasm-tools component wit target/wasm32-wasi/debug/pulumi_wasm_example_simple.wasm @REM diff --git a/run.sh b/run.sh index f2203fdee..6f30af147 100755 --- a/run.sh +++ b/run.sh @@ -6,7 +6,7 @@ cargo component build -p wasm_common cargo component build -p pulumi_wasm cargo component build -p pulumi_wasm_provider_random cargo component build -p pulumi_wasm_example_simple -cargo build +cargo build -p pulumi_wasm_runner cp "target/wasm32-wasi/debug/pulumi_wasm.wasm" "target/wasm32-wasi/debug/pulumi-wasm.wasm"