From 86aa901b29645374e2c45f6bc902cbf3dbe5f81e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 21 Nov 2024 12:51:43 -0500 Subject: [PATCH] ci: update ubuntu_workflow to use env vars (#2547) --- .github/workflows/ubuntu_workflow.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu_workflow.yml b/.github/workflows/ubuntu_workflow.yml index c4d55e432..e3ab5cf2e 100644 --- a/.github/workflows/ubuntu_workflow.yml +++ b/.github/workflows/ubuntu_workflow.yml @@ -73,8 +73,11 @@ jobs: utcOffset: "+00:00" - name: Write Buildscan URL to Summary + env: + TIMESTAMP: ${{ steps.current-time.outputs.formattedTime }} + BUILD_SCAN_URL: ${{ needs.build.outputs.build-scan-url }} run: | - echo "**Timestamp:** ${{ steps.current-time.outputs.formattedTime }}" >> $GITHUB_STEP_SUMMARY + echo "**Timestamp:** $TIMESTAMP" >> $GITHUB_STEP_SUMMARY echo "**Buildscan URL for ubuntu-workflow run:**" >> $GITHUB_STEP_SUMMARY - echo "[${{ github.run_id }}](https://github.com/Flank/flank/actions/runs/${{ github.run_id }})" >> $GITHUB_STEP_SUMMARY - echo "${{ needs.build.outputs.build-scan-url }}" >> $GITHUB_STEP_SUMMARY \ No newline at end of file + echo "[$GITHUB_RUN_ID](https://github.com/Flank/flank/actions/runs/$GITHUB_RUN_ID)" >> $GITHUB_STEP_SUMMARY + echo "$BUILD_SCAN_URL" >> $GITHUB_STEP_SUMMARY