@rightkit/ci 0.3.9 → 0.3.10

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.
Files changed (2) hide show
  1. package/manifest.mjs +3 -2
  2. package/package.json +1 -1
package/manifest.mjs CHANGED
@@ -2214,8 +2214,9 @@ const CLASS_A_TOOL_STEPS = Object.freeze([
2214
2214
  " shell: bash",
2215
2215
  " run: |",
2216
2216
  " set -euo pipefail",
2217
- // The gate's Mac default root is on /Volumes/D, which a hosted runner has not got: this run's gate steps keep their state in the runner's temp.
2218
- " if [ \"$RUNNER_OS\" = macOS ]; then export RIGHTKIT_DATA_ROOT=\"$RUNNER_TEMP/rightkit-data\"; echo \"RIGHTKIT_DATA_ROOT=$RIGHTKIT_DATA_ROOT\" >> \"$GITHUB_ENV\"; fi",
2217
+ // The gate's Mac roots are on /Volumes/D, which a hosted runner has not got, and a gate before @rightkit/release 0.6.97 ignores
2218
+ // RIGHTKIT_DATA_ROOT on a Mac host: make the default roots, private to the runner user, so every gate version finds the same ones.
2219
+ " if [ \"$RUNNER_OS\" = macOS ]; then for d in /Volumes/D/.rightkit-managed /Volumes/D/.rustright; do sudo mkdir -p \"$d\"; sudo chown \"$(id -u):$(id -g)\" /Volumes/D \"$d\"; chmod 700 \"$d\"; done; fi",
2219
2220
  " rk=node_modules/@rightkit/release",
2220
2221
  " [ -f \"$rk/scan-tool-enrolment.mjs\" ] || exit 0",
2221
2222
  " root=\"$(node --input-type=module -e \"import { resolveManagedRoots } from './$rk/managed-roots.mjs'; console.log(resolveManagedRoots().gateRoot)\")\"",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rightkit/ci",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
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",