Skip to content

Commit

Permalink
Update publish-dotnet-binaries.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoramosrs authored Jan 12, 2024
1 parent b28c38d commit 6842311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-dotnet-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:

- name: Get commit message
run: |
for (/f "delims=" %a) in ('git log -1 --pretty=format^:%s') do set COMMIT_MESSAGE=%a
setx COMMIT_MESSAGE "%COMMIT_MESSAGE%"
$COMMIT_MESSAGE = git log -1 --pretty=format:%s
Write-Host "::set-env name=COMMIT_MESSAGE::$COMMIT_MESSAGE"
::COMMIT_MESSAGE=$(git log -1 --pretty=format:%s)
::echo "::set-env name=COMMIT_MESSAGE::$COMMIT_MESSAGE"
Expand Down

0 comments on commit 6842311

Please sign in to comment.