Skip to content

Commit

Permalink
Ci: 修复
Browse files Browse the repository at this point in the history
Ci: 修复
  • Loading branch information
zhi-feng2008 authored Sep 16, 2024
1 parent 39896b1 commit 0037c93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ jobs:
COMMIT_TITLE=$(git log -1 --pretty=%s | tr -d '\r\n' | sed 's/[[:space:]]*$//')
echo "COMMIT_TITLE=$COMMIT_TITLE" >> $GITHUB_ENV
COMMIT_DESCRIPTION=$(git log -1 --pretty=%b | sed ':a;N;$!ba;s/\r\n/\\n/g' | sed ':a;N;$!ba;s/\n/\\n/g')
echo "COMMIT_DESCRIPTION<<EOF" >> $GITHUB_ENV
echo "$COMMIT_DESCRIPTION" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo "COMMIT_DESCRIPTION=$COMMIT_DESCRIPTION" >> $GITHUB_ENV
COMMIT_AUTHOR=$(git log -1 --pretty=%an)
echo "COMMIT_AUTHOR=$COMMIT_AUTHOR" >> $GITHUB_ENV
Expand Down

0 comments on commit 0037c93

Please sign in to comment.