Skip to content

Commit 33a7943

Browse files
committed
Output stamped version during build.
1 parent fc5c4af commit 33a7943

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ jobs:
6262
-p:RepositoryCommit=${{ github.sha }}
6363
-p:PackageOutputPath=${{ runner.temp }}/dist
6464
65+
- name: Note Version
66+
shell: pwsh
67+
#url: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions%23environment-files?tool=powershell#adding-a-job-summary
68+
run: |
69+
"Version: `$env:VERSION`" >> $env:GITHUB_STEP_SUMMARY
70+
env:
71+
VERSION: ${{ steps.stamp.outputs.version }}
72+
6573
- name: Save Package
6674
uses: actions/upload-artifact@v3
6775
#url: https://github.com/actions/upload-artifact

0 commit comments

Comments
 (0)