fix ci.
All checks were successful
Windows CI / build (push) Successful in 3m35s

This commit is contained in:
amass 2024-10-16 01:32:28 +08:00
parent f968a0a242
commit f5f6569051

View File

@ -8,8 +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/${{ gitea.repository }}.git" git clone --depth 1 --branch=$branch https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@amass.fun/gitea/${{ gitea.repository }}.git .
git clone --depth 1 --branch=$branch $url .
git checkout ${{ github.sha }} git checkout ${{ github.sha }}
- name: Build and deploy - name: Build and deploy
run: | run: |