diff --git a/.github/workflows/build-go.yml b/.github/workflows/build-go.yml index e304aee..8c8a531 100644 --- a/.github/workflows/build-go.yml +++ b/.github/workflows/build-go.yml @@ -27,8 +27,10 @@ jobs: steps: - name: Clone Repository run: | - URL=${${{ github.server_url }}#http://} - git clone https://wf:${{ github.token }}@$URL/${{ github.repository_owner }}/${{ github.repository }}.git ${{ github.workspace }} + URL_WITH_HTTP=${{ github.server_url }} + URL=${URL_WITH_HTTP#http://} + URL=${URL#https://} + git clone https://wf:${{ github.token }}@${URL}/${{ github.repository_owner }}/${{ github.repository }}.git ${{ github.workspace }} - name: Check Out Branch run: | cd ${{ github.workspace }}