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