This commit is contained in:
parent
f3c9367a26
commit
72f047ea84
@ -23,13 +23,15 @@ jobs:
|
||||
|
||||
- name: 设置环境变量
|
||||
env:
|
||||
CURRENT_USER_NAME: "iorebuild"
|
||||
CURRENT_USER_EMAIL: "liyepan@linuxacme.com"
|
||||
GITEA_REPO_URL: ${{ github.server_url }}/${{ github.repository }}
|
||||
REPO_NAME: ${{ github.event.repository.name }}
|
||||
run: |
|
||||
git config user.name "${{ github.actor }}"
|
||||
git config user.email "${{ github.actor }}@users.noreply.git.linuxacme.com"
|
||||
echo "Name = ${{ github.actor }}"
|
||||
echo "Email = ${{ github.actor }}@users.noreply.git.linuxacme.com"
|
||||
git config user.name "$CURRENT_USER_NAME"
|
||||
git config user.email "$CURRENT_USER_EMAIL"
|
||||
echo "Name = $CURRENT_USER_NAME"
|
||||
echo "Email = $CURRENT_USER_EMAIL"
|
||||
|
||||
- name: 替换软件源为国内软件源(USTC)
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user