File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 81
81
platform=${{ matrix.platform }}
82
82
echo "PLATFORM_TUPLE=${platform//\//-}" >> $GITHUB_ENV
83
83
84
+ - name : Visualise cache key contents
85
+ run : |
86
+ # is the working directory clean?
87
+ git status
88
+
89
+ # Run the script that the runner uses to produce the value used by `hashFiles()`
90
+ # Arguments to `hashFiles` are passed in as the `patterns` environment variable
91
+ # separated by newlines.
92
+ export patterns=$'Dockerfile\ncrates/**\nCargo.toml\nCargo.lock'
93
+ /home/runner/runners/2.321.0/externals/node20/bin/node "/home/runner/runners/2.321.0/bin/hashFiles"
94
+
95
+ # The number of files matches, but _one of these 644 files_ has changed, so we need to find
96
+ # which one that is
97
+ find Cargo.toml Cargo.lock crates -type f -exec sha256sum {} \;
98
+
84
99
- name : Docker apt & pip caches
85
100
uses : actions/cache@v4
86
101
id : docker-caches
You can’t perform that action at this time.
0 commit comments