Skip to content

Commit 86aa901

Browse files
authored
ci: update ubuntu_workflow to use env vars (#2547)
1 parent 4c1deff commit 86aa901

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ubuntu_workflow.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,11 @@ jobs:
7373
utcOffset: "+00:00"
7474

7575
- name: Write Buildscan URL to Summary
76+
env:
77+
TIMESTAMP: ${{ steps.current-time.outputs.formattedTime }}
78+
BUILD_SCAN_URL: ${{ needs.build.outputs.build-scan-url }}
7679
run: |
77-
echo "**Timestamp:** ${{ steps.current-time.outputs.formattedTime }}" >> $GITHUB_STEP_SUMMARY
80+
echo "**Timestamp:** $TIMESTAMP" >> $GITHUB_STEP_SUMMARY
7881
echo "**Buildscan URL for ubuntu-workflow run:**" >> $GITHUB_STEP_SUMMARY
79-
echo "[${{ github.run_id }}](https://github.com/Flank/flank/actions/runs/${{ github.run_id }})" >> $GITHUB_STEP_SUMMARY
80-
echo "${{ needs.build.outputs.build-scan-url }}" >> $GITHUB_STEP_SUMMARY
82+
echo "[$GITHUB_RUN_ID](https://github.com/Flank/flank/actions/runs/$GITHUB_RUN_ID)" >> $GITHUB_STEP_SUMMARY
83+
echo "$BUILD_SCAN_URL" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)