From 02fbe1d87200360f82b36c2f289492f29b87a586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Mon, 27 Mar 2023 13:43:33 +0900 Subject: [PATCH] patch --- .github/workflows/bench.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index e058fb2072b5..55c34a35fa63 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -29,6 +29,14 @@ jobs: restore-keys: | cargo-release-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }} + - name: Patch + shell: bash + run: | + echo '[patch.crates-io]' >> bindings/Cargo.toml + ./scripts/cargo/patch-section.sh + ./scripts/cargo/patch-section.sh >> bindings/Cargo.toml + cd bindings && cargo update -p swc_core + - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh