Skip to content

Commit

Permalink
CI: optimize git output
Browse files Browse the repository at this point in the history
  • Loading branch information
pippocao committed Sep 27, 2024
1 parent 35840d0 commit 4552f23
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build_for_all_platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,13 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add bin/tools/
git add dist/
git commit -m "Github Auto CI"
ACTION_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
git commit -m "Github Auto CI - Action URL: $ACTION_URL"
echo "Git Log:"
git log -1 --stat
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Tencent/BqLog.git HEAD:$BRANCH_NAME

0 comments on commit 4552f23

Please sign in to comment.