mirror of
https://code.forgejo.org/actions/upload-artifact.git
synced 2025-05-19 15:44:46 +00:00
add new artifact-digest output
Signed-off-by: Brian DeHamer <bdehamer@github.com>
This commit is contained in:
parent
735efb4a0a
commit
c40c16d999
10 changed files with 21 additions and 6 deletions
|
@ -19,6 +19,7 @@ export async function uploadArtifact(
|
|||
`Artifact ${artifactName} has been successfully uploaded! Final size is ${uploadResponse.size} bytes. Artifact ID is ${uploadResponse.id}`
|
||||
)
|
||||
core.setOutput('artifact-id', uploadResponse.id)
|
||||
core.setOutput('artifact-digest', uploadResponse.digest)
|
||||
|
||||
const repository = github.context.repo
|
||||
const artifactURL = `${github.context.serverUrl}/${repository.owner}/${repository.repo}/actions/runs/${github.context.runId}/artifacts/${uploadResponse.id}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue