Skip to content

Commit cf5bce0

Browse files
feat(actions): update actions/upload-artifact@v4 (#1225)
Created automatically. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 35213a8 commit cf5bce0

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c7d193f32edcb7bfad88892161225aeda64e9392
1+
1eb3cb2b3e0f29609092a73eb033bb759a334595

github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/actions/UploadArtifactV4.kt

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,25 @@ public data class UploadArtifactV4 private constructor(
138138
stepId: String,
139139
) : Action.Outputs(stepId) {
140140
/**
141-
* A unique identifier for the artifact that was just uploaded. Empty if artifact upload
141+
* A unique identifier for the artifact that was just uploaded. Empty if the artifact upload
142142
* failed.
143143
* This ID can be used as input to other APIs to download, delete or get more information
144144
* about an artifact: https://docs.github.com/en/rest/actions/artifacts
145145
*/
146146
public val artifactId: String = "steps.$stepId.outputs.artifact-id"
147+
148+
/**
149+
* A download URL for the artifact that was just uploaded. Empty if the artifact upload
150+
* failed.
151+
* This download URL only works for requests Authenticated with GitHub. Anonymous downloads
152+
* will be prompted to first login. If an anonymous download URL is needed than a short time
153+
* restricted URL can be generated using the download artifact API:
154+
* https://docs.github.com/en/rest/actions/artifacts#download-an-artifact
155+
* This URL will be valid for as long as the artifact exists and the workflow run and
156+
* repository exists. Once an artifact has expired this URL will no longer work. Common uses
157+
* cases for such a download URL can be adding download links to artifacts in descriptions or
158+
* comments on pull requests or issues.
159+
*/
160+
public val artifactUrl: String = "steps.$stepId.outputs.artifact-url"
147161
}
148162
}

0 commit comments

Comments
 (0)