diff --git a/.gitea/workflows/build_windows.yaml b/.gitea/workflows/build_windows.yaml index 1fad4b1..9188e17 100644 --- a/.gitea/workflows/build_windows.yaml +++ b/.gitea/workflows/build_windows.yaml @@ -8,7 +8,8 @@ jobs: - name: Clone repository run: | $branch = "${{ github.ref }}" -replace '^refs/heads/', '' - git clone --depth 1 --branch=$branch https://$env:GIT_USERNAME:$env:GIT_PASSWORD@amass.fun/gitea/amass/${{ env.GITEA_REPOSITORY }}.git . + echo "git clone --depth 1 --branch=$branch https://$env:GIT_USERNAME:$env:GIT_PASSWORD@amass.fun/gitea/amass/$env:GITEA_REPOSITORY.git ." + git clone --depth 1 --branch=$branch https://$env:GIT_USERNAME:$env:GIT_PASSWORD@amass.fun/gitea/amass/$env:GITEA_REPOSITORY.git . git checkout ${{ github.sha }} env: GITEA_REPOSITORY: ${{ secrets.GITEA_REPOSITORY }}