We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dafb3bc commit c3bc6a1Copy full SHA for c3bc6a1
download-artifacts/action.yml
@@ -91,6 +91,8 @@ outputs:
91
description: Boolean output which is true if the artifact was found and false otherwise
92
artifacts:
93
description: JSON array with details about found artifacts
94
+ artifact-build-commit:
95
+ description: The commit related to the artifact that was found
96
runs:
97
using: node20
98
main: main.js
download-artifacts/main.js
@@ -191,6 +191,9 @@ async function main() {
191
192
core.setOutput("artifacts", artifacts)
193
194
+ const artifactBuildCommit = artifacts[0].workflow_run.head_sha;
195
+ core.setOutput("artifact-build-commit", artifactBuildCommit)
196
+
197
if (dryRun) {
198
if (artifacts.length == 0) {
199
core.setOutput("dry_run", false)
0 commit comments