diff --git a/.github/workflows/build-package.yaml b/.github/workflows/build-package.yaml index 875b1e8..61fd8a3 100644 --- a/.github/workflows/build-package.yaml +++ b/.github/workflows/build-package.yaml @@ -32,7 +32,7 @@ jobs: uses: actions/cache@v3 with: path: ~/.cargo/registry - key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/*.rs') }} restore-keys: | ${{ runner.os }}-cargo-registry- @@ -40,7 +40,7 @@ jobs: uses: actions/cache@v3 with: path: ~/.cargo/index - key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/*.rs') }} restore-keys: | ${{ runner.os }}-cargo-index- @@ -48,7 +48,7 @@ jobs: uses: actions/cache@v3 with: path: target - key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/*.rs') }} restore-keys: | ${{ runner.os }}-cargo-build- @@ -66,4 +66,4 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: push package - run: RELEASE_VERSION=$(yq '.application.version' spin.toml) wkg oci push ghcr.io/fermyon/wasm-pkg/fermyon-experimental/azure-client:$RELEASE_VERSION main.wasm \ No newline at end of file + run: RELEASE_VERSION=$(yq '.application.version' spin.toml) && wkg oci push ghcr.io/fermyon/wasm-pkg/fermyon-experimental/azure-client:$RELEASE_VERSION main.wasm \ No newline at end of file