File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 24
24
COREHOST_TRACEFILE : corehosttrace.log
25
25
MULTI_TARGET_DIRECTORY : tooling/MultiTarget
26
26
HEADS_DIRECTORY : tooling/ProjectHeads
27
- COMMIT_DATE : ${{ github.event.repository.updated_at }}
28
27
IS_MAIN : ${{ github.ref == 'refs/heads/main' }}
29
28
IS_PR : ${{ startsWith(github.ref, 'refs/pull/') }}
30
29
IS_RELEASE : ${{ startsWith(github.ref, 'refs/heads/rel/') }}
@@ -132,7 +131,7 @@ jobs:
132
131
- name : Format Date/Time of Commit for Package Version
133
132
id : version-date
134
133
run : |
135
- echo "VERSION_DATE=$(Get-Date $env:COMMIT_DATE -Format 'yyMMdd' )" >> $env:GITHUB_OUTPUT
134
+ echo "VERSION_DATE=$(git log -1 --format=%cd --date=format:%y%m%d )" >> $env:GITHUB_OUTPUT
136
135
137
136
- name : MSBuild
138
137
run : msbuild.exe CommunityToolkit.AllComponents.sln /restore /nowarn:MSB4011 -p:Configuration=Release -m -p:DateForVersion=${{ steps.version-date.outputs.VERSION_DATE }} ${{ env.VERSION_PROPERTY }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '/bl' || '' }} -v:${{ env.MSBUILD_VERBOSITY }}
You can’t perform that action at this time.
0 commit comments