File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -55,18 +55,19 @@ jobs:
5555 gh auth status
5656
5757 dotnet tool update -g dotnet-file
58- dotnet file sync -c:$env:TEMP\dotnet-file.md
59- if (test-path $env:TEMP\dotnet-file.md) {
58+ $changelog = "$([System.IO.Path]::GetTempPath())dotnet-file.md"
59+ dotnet file sync -c:$changelog
60+ if (test-path $changelog) {
6061 echo 'CHANGES<<EOF' >> $env:GITHUB_ENV
61- cat $env:TEMP\dotnet-file.md >> $env:GITHUB_ENV
62+ cat $changelog >> $env:GITHUB_ENV
6263 echo 'EOF' >> $env:GITHUB_ENV
63- cat $env:TEMP\dotnet-file.md
64+ cat $changelog
6465 } else {
6566 echo 'No changelog was generated'
6667 }
6768
6869 - name : +Mᐁ includes
69- uses : devlooped/actions-include @main
70+ uses : devlooped/actions-includes @main
7071 with :
7172 validate : false
7273
You can’t perform that action at this time.
0 commit comments