fix ci.
Some checks failed
Windows CI / build (push) Failing after 2s

This commit is contained in:
amass 2024-10-16 01:26:12 +08:00
parent 4788f1c04d
commit ba63b6b491

View File

@ -8,7 +8,7 @@ jobs:
- name: Clone repository - name: Clone repository
run: | run: |
$branch = "${{ github.ref }}" -replace '^refs/heads/', '' $branch = "${{ github.ref }}" -replace '^refs/heads/', ''
$url = "https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@amass.fun/gitea/amass/${{ secrets.GITEA_REPOSITORY }}.git" $url = "https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@amass.fun/gitea/amass/${{ gitea.repository }}.git"
git clone --depth 1 --branch=$branch $url . git clone --depth 1 --branch=$branch $url .
git checkout ${{ github.sha }} git checkout ${{ github.sha }}
env: env: