diff --git a/.github/workflows/build_publish.yaml b/.github/workflows/build_publish.yaml index 80bcdbf..db2f1d0 100644 --- a/.github/workflows/build_publish.yaml +++ b/.github/workflows/build_publish.yaml @@ -63,6 +63,24 @@ jobs: default: true override: true + - name: Cache Cargo registry + uses: actions/cache@v1 + with: + path: ~/.cargo/registry + key: cargo-registry-${{ hashFiles('**/Cargo.lock') }} + + - name: Cache Cargo bin + uses: actions/cache@v1 + with: + path: ~/.cargo/bin + key: cargo-bin-${{ hashFiles('**/Cargo.lock') }} + + - name: Cache Cargo build + uses: actions/cache@v1 + with: + path: target + key: cargo-build-target-${{ hashFiles('**/Cargo.lock') }} + - name: Setup wasmer-jni artifacts dir shell: bash run: |