From f0cbe30768dd5d9900ece23cb67d86731aa65102 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Wed, 16 Oct 2024 01:10:13 +0800 Subject: [PATCH] fix ci. --- .gitea/workflows/build_windows.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build_windows.yaml b/.gitea/workflows/build_windows.yaml index 1fad4b1..9188e17 100644 --- a/.gitea/workflows/build_windows.yaml +++ b/.gitea/workflows/build_windows.yaml @@ -8,7 +8,8 @@ jobs: - name: Clone repository run: | $branch = "${{ github.ref }}" -replace '^refs/heads/', '' - git clone --depth 1 --branch=$branch https://$env:GIT_USERNAME:$env:GIT_PASSWORD@amass.fun/gitea/amass/${{ env.GITEA_REPOSITORY }}.git . + echo "git clone --depth 1 --branch=$branch https://$env:GIT_USERNAME:$env:GIT_PASSWORD@amass.fun/gitea/amass/$env:GITEA_REPOSITORY.git ." + git clone --depth 1 --branch=$branch https://$env:GIT_USERNAME:$env:GIT_PASSWORD@amass.fun/gitea/amass/$env:GITEA_REPOSITORY.git . git checkout ${{ github.sha }} env: GITEA_REPOSITORY: ${{ secrets.GITEA_REPOSITORY }}