Simplify output

This commit is contained in:
Konrad Pabjan 2024-01-10 16:25:21 +00:00
parent bba35f6365
commit b6acfe3668
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View file

@ -127066,7 +127066,7 @@ function run() {
core.setOutput('artifact-id', uploadResponse.id);
const repository = github.context.repo;
const artifactURL = `${github.context.serverUrl}/${repository.owner}/${repository.repo}/actions/runs/${github.context.runId}/artifacts/${uploadResponse.id}`;
core.info(`Artifact web download URL: ${artifactURL}`);
core.info(`Artifact download URL: ${artifactURL}`);
core.setOutput('artifact-url', artifactURL);
}
}

View file

@ -62,7 +62,7 @@ async function run(): Promise<void> {
const repository = github.context.repo
const artifactURL = `${github.context.serverUrl}/${repository.owner}/${repository.repo}/actions/runs/${github.context.runId}/artifacts/${uploadResponse.id}`
core.info(`Artifact web download URL: ${artifactURL}`)
core.info(`Artifact download URL: ${artifactURL}`)
core.setOutput('artifact-url', artifactURL)
}
} catch (error) {