From 5c884dba698118b7fe8d06b9d2a1dba03048ea9d Mon Sep 17 00:00:00 2001 From: "firedcto@gmail.com" Date: Fri, 15 Nov 2024 18:42:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9B=B4=E6=96=B0=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3a70fa..9272988 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,15 +59,7 @@ jobs: CODING_USERNAME: ${{ secrets.CODING_USERNAME }} CODING_PASSWORD: ${{ secrets.CODING_PASSWORD }} run: | - git config --global credential.helper store - git config --global credential.helper manager-core - $credentialsPath = [System.IO.Path]::Combine($env:HOMEPATH, ".git-credentials") - if (-not (Test-Path -Path $credentialsPath -PathType Leaf)) { - New-Item -ItemType File -Force -Path $credentialsPath - } - echo "https://${CODING_USERNAME}:${CODING_PASSWORD}@e.coding.net" > $env:HOMEPATH\.git-credentials git remote add coding https://${CODING_USERNAME}:${CODING_PASSWORD}@e.coding.net/g-frfh1513/ok-wuthering-waves/ok-wuthering-waves.git - git remote set-url coding https://YOUR_USERNAME:YOUR_TOKEN@e.coding.net/g-frfh1513/ok-wuthering-waves/ok-wuthering-waves.git git push coding --force - name: Push to GitHub update