fix ci.
Some checks failed
Windows CI / build (push) Has been cancelled

This commit is contained in:
amass 2024-10-16 01:27:18 +08:00
parent ba63b6b491
commit e55983b41f

View File

@ -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: