Skip to content

Commit

Permalink
feat(actions): update actions/upload-artifact@v4 (#1225)
Browse files Browse the repository at this point in the history
Created automatically.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Jan 18, 2024
1 parent 35213a8 commit cf5bce0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion actions/actions/upload-artifact/v4/commit-hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c7d193f32edcb7bfad88892161225aeda64e9392
1eb3cb2b3e0f29609092a73eb033bb759a334595
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,25 @@ public data class UploadArtifactV4 private constructor(
stepId: String,
) : Action.Outputs(stepId) {
/**
* A unique identifier for the artifact that was just uploaded. Empty if artifact upload
* A unique identifier for the artifact that was just uploaded. Empty if the artifact upload
* failed.
* This ID can be used as input to other APIs to download, delete or get more information
* about an artifact: https://docs.github.com/en/rest/actions/artifacts
*/
public val artifactId: String = "steps.$stepId.outputs.artifact-id"

/**
* A download URL for the artifact that was just uploaded. Empty if the artifact upload
* failed.
* This download URL only works for requests Authenticated with GitHub. Anonymous downloads
* will be prompted to first login. If an anonymous download URL is needed than a short time
* restricted URL can be generated using the download artifact API:
* https://docs.github.com/en/rest/actions/artifacts#download-an-artifact
* This URL will be valid for as long as the artifact exists and the workflow run and
* repository exists. Once an artifact has expired this URL will no longer work. Common uses
* cases for such a download URL can be adding download links to artifacts in descriptions or
* comments on pull requests or issues.
*/
public val artifactUrl: String = "steps.$stepId.outputs.artifact-url"
}
}

0 comments on commit cf5bce0

Please sign in to comment.