Ver código fonte

chore: git config in ci

dragooncjw 11 meses atrás
pai
commit
e6e31712ee
2 arquivos alterados com 8 adições e 0 exclusões
  1. 4 0
      .github/workflows/publish-app.yml
  2. 4 0
      .github/workflows/publish.yml

+ 4 - 0
.github/workflows/publish-app.yml

@@ -22,6 +22,10 @@ jobs:
           NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
         run: |
           npm whoami
+      - name: Config Git User
+        run: |
+          git config --local user.name "dragooncjw"
+          git config --local user.email "289056872@qq.com"
       - name: Get latest npm version
         id: get_version
         run: |

+ 4 - 0
.github/workflows/publish.yml

@@ -24,6 +24,10 @@ jobs:
           NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
         run: |
           npm whoami
+      - name: Config Git User
+        run: |
+          git config --local user.name "dragooncjw"
+          git config --local user.email "289056872@qq.com"
       - name: Get latest npm version
         id: get_version
         run: |