mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-11 12:04:14 +02:00
Simplify output
This commit is contained in:
parent
bba35f6365
commit
b6acfe3668
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue