Skip to content

Commit 0c3166b

Browse files
committed
Debug statements
1 parent 037bf6e commit 0c3166b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/matlab.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ async function makeToolcacheDir(platform: string, release: Release): Promise<str
4545
}
4646

4747
async function makeWindowsHostedToolpath(release: Release): Promise<string> {
48+
core.info("Attempting to create toolcache directory on D: drive for Windows github-hosted runner.");
4849
// bail early if not on a github hosted runner
4950
if (process.env['RUNNER_ENVIRONMENT'] !== 'github-hosted' && process.env['AGENT_ISSELFHOSTED'] === '1') {
51+
core.info("Not a github-hosted runner.");
5052
return Promise.reject();
5153
}
5254

@@ -90,6 +92,7 @@ async function makeWindowsHostedToolpath(release: Release): Promise<string> {
9092
}
9193

9294
async function makeDefaultToolpath(release: Release): Promise<string> {
95+
core.info("Creating toolcache directory in default location.");
9396
fs.writeFileSync(".keep", "");
9497
let toolpath = await tc.cacheFile(".keep", ".keep", "MATLAB", release.version);
9598
await io.rmRF(".keep");

0 commit comments

Comments
 (0)