File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
actions/actions/upload-artifact/v4
github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/actions Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1- c7d193f32edcb7bfad88892161225aeda64e9392
1+ 1eb3cb2b3e0f29609092a73eb033bb759a334595
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments