Skip to content

Commit

Permalink
rename cache matadata
Browse files Browse the repository at this point in the history
  • Loading branch information
gmichelo committed Jan 31, 2024
1 parent 876c910 commit b6c31e8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
go install namespacelabs.dev/foundation/cmd/ns@latest
- name: Print cache metadata file
run :
cat /cache/.ns/metadata.json
cat /cache/.ns/cache-metadata.json
- name: Breakpoint on failure
if: failure() && github.ref_name == 'main'
uses: namespacelabs/breakpoint-action@v0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
working-directory: ./demo

- name: Print cache metadata file
run: cat /cache/.ns/metadata.json
run: cat /cache/.ns/cache-metadata.json
2 changes: 1 addition & 1 deletion .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
working-directory: ./demo
- name: Print cache metadata file
run :
cat /cache/.ns/metadata.json
cat /cache/.ns/cache-metadata.json
2 changes: 1 addition & 1 deletion .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
working-directory: ./demo
- name: Print cache metadata file
run :
cat /cache/.ns/metadata.json
cat /cache/.ns/cache-metadata.json
2 changes: 1 addition & 1 deletion .github/workflows/yarn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
working-directory: ./demo
- name: Print cache metadata file
run :
cat /cache/.ns/metadata.json
cat /cache/.ns/cache-metadata.json
2 changes: 1 addition & 1 deletion dist/index/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27012,7 +27012,7 @@ var io = __nccwpck_require__(7436);
const Env_CacheRoot = "NSC_CACHE_PATH";
const StatePathsKey = "paths";
const privateNamespaceDir = ".ns";
const metadataFileName = "metadata.json";
const metadataFileName = "cache-metadata.json";
function resolveHome(filepath) {
// Ugly, but should work
const home = process.env["HOME"] || "~";
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const Env_CacheRoot = "NSC_CACHE_PATH";
export const StatePathsKey = "paths";

const privateNamespaceDir = ".ns"
const metadataFileName = "metadata.json"
const metadataFileName = "cache-metadata.json"

export interface CachePath {
pathInCache?: string;
Expand Down

0 comments on commit b6c31e8

Please sign in to comment.