From 65d96367b2f090834598fe0294f699da19c9d948 Mon Sep 17 00:00:00 2001 From: Andrew Steurer Date: Thu, 11 Jul 2024 16:11:38 -0600 Subject: [PATCH] adding caching to the wkg step Signed-off-by: Andrew Steurer --- .github/workflows/build-package.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-package.yaml b/.github/workflows/build-package.yaml index 8ad64fe..2cf71eb 100644 --- a/.github/workflows/build-package.yaml +++ b/.github/workflows/build-package.yaml @@ -39,6 +39,10 @@ jobs: - name: install wkg run: cargo install --git https://github.com/bytecodealliance/wasm-pkg-tools wkg --locked --config net.git-fetch-with-cli=true + + + - name: cache the wkg installation for the next time this runs + uses: Swatinem/rust-cache@v2 - name: build spinapp run: spin build