Skip to content

Commit df22c9c

Browse files
author
Jaymala
authored
backport of commit 550277d
1 parent d8cc958 commit df22c9c

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/enos-release-testing-oss.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: enos-release-testing-oss
1+
name: enos-release-testing-oss-${{ github.event.client_payload.payload.sha }}
22

33
on:
44
repository_dispatch:
@@ -58,3 +58,18 @@ jobs:
5858
steps:
5959
- name: Persist metadata
6060
uses: hashicorp/actions-persist-metadata@v1
61+
62+
# Get the workflow summary similar to CRT workflows
63+
release-artifact-info:
64+
runs-on: linux
65+
if: ${{ startsWith(github.event.action, 'enos-release-testing-oss') }}
66+
continue-on-error: true
67+
steps:
68+
- name: Release Artifact Info
69+
run: |
70+
# shellcheck disable=SC2129
71+
echo "__Product:__ ${{ github.event.client_payload.payload.product }}" >> "$GITHUB_STEP_SUMMARY"
72+
echo "__Version:__ ${{ github.event.client_payload.payload.version }}" >> "$GITHUB_STEP_SUMMARY"
73+
echo "__Commit:__ ${{ github.event.client_payload.payload.sha }}" >> "$GITHUB_STEP_SUMMARY"
74+
echo "" >> "$GITHUB_STEP_SUMMARY"
75+
echo "[Build Workflow](https://github.com/${{github.event.client_payload.payload.org}}/${{github.event.client_payload.payload.repo}}/actions/runs/${{github.event.client_payload.payload.buildworkflowid}})" >> "$GITHUB_STEP_SUMMARY"

0 commit comments

Comments
 (0)