@rightkit/git 0.2.19 → 0.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rightkit/git",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
4
4
  "description": "Public-repo-only GitHub Actions workflow layer: templates, visibility gate, sync/drift/adopt/uninstall for right-git.",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "type": "module",
package/render.test.mjs CHANGED
@@ -114,6 +114,7 @@ test("rust-hybrid cache contract renders every declared Cargo workspace", () =>
114
114
  assert.match(content, /workspaces: \|\n \. -> target\n apps\/studio\/src-tauri -> target/);
115
115
  assert.match(content, /add-job-id-key: false/);
116
116
  assert.match(content, /cache-workspace-crates: false/);
117
+ assert.match(content, /cache-on-failure: true/);
117
118
  assert.match(content, /RUSTC_WRAPPER: "sccache"/);
118
119
  });
119
120
 
@@ -46,6 +46,7 @@ ${RUST_CACHE_WORKSPACES}
46
46
  shared-key: ${ARTIFACT_PREFIX}-rust
47
47
  add-job-id-key: false
48
48
  cache-workspace-crates: false
49
+ cache-on-failure: true
49
50
  save-if: ${{ github.event_name != 'pull_request' }}
50
51
  - uses: Mozilla-Actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
51
52
  with:
@@ -52,6 +52,7 @@ ${RUST_CACHE_WORKSPACES}
52
52
  shared-key: ${ARTIFACT_PREFIX}-rust
53
53
  add-job-id-key: false
54
54
  cache-workspace-crates: false
55
+ cache-on-failure: true
55
56
  save-if: true
56
57
  - uses: Mozilla-Actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
57
58
  with: