Skip to content

Commit 63e3353

Browse files
committed
workflows: save debos build URL to file
After build is published, the upload URL is saved to file. This URL can later be used for scheduling test jobs. Signed-off-by: Milosz Wasilewski <[email protected]>
1 parent 0a4d161 commit 63e3353

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/debos.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,17 @@ jobs:
166166
id: upload_sbom_artifacts
167167
with:
168168
path: sboms
169-
169+
- name: "Print output"
170+
env:
171+
build_url: ${{ steps.upload_artifacts.outputs.url }}
172+
run: |
173+
echo "Downloads URL: ${build_url}"
174+
echo "url=\"${build_url}\"" >> $GITHUB_OUTPUT
175+
echo "${build_url}" > build_url
176+
echo "## Download URL" >> $GITHUB_STEP_SUMMARY
177+
echo "[${build_url}](${build_url})" >> $GITHUB_STEP_SUMMARY
178+
- name: Upload build URL
179+
uses: actions/upload-artifact@v4
180+
with:
181+
name: build_url
182+
path: build_url

0 commit comments

Comments
 (0)