diff --git a/.gitea/workflows/build_windows.yaml b/.gitea/workflows/build_windows.yaml index a68e7bf..a918b7e 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/${{ 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 checkout ${{ github.sha }} env: