mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-20 02:01:21 +00:00
Simplify output
This commit is contained in:
parent
bba35f6365
commit
b6acfe3668
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…
Reference in New Issue
Block a user