mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-27 00:48:28 +02:00
Print resolved path with debug
This commit is contained in:
parent
0d118dea33
commit
ec85c03339
2 changed files with 2 additions and 0 deletions
1
dist/index.js
vendored
1
dist/index.js
vendored
|
@ -6644,6 +6644,7 @@ function run() {
|
|||
const path = core.getInput(constants_1.Inputs.Path, { required: false });
|
||||
// resolve tilde expansion
|
||||
const resolvedPath = path_1.resolve(path.replace('~', os.homedir));
|
||||
core.debug(`Resolved path is ${resolvedPath}`);
|
||||
const artifactClient = artifact.create();
|
||||
if (!name) {
|
||||
// download all artifacts
|
||||
|
|
|
@ -11,6 +11,7 @@ async function run(): Promise<void> {
|
|||
|
||||
// resolve tilde expansion
|
||||
const resolvedPath = resolve(path.replace('~', os.homedir))
|
||||
core.debug(`Resolved path is ${resolvedPath}`)
|
||||
|
||||
const artifactClient = artifact.create()
|
||||
if (!name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue