From 5de16d0f115a652e8a0a8ddd237570467eb9933c Mon Sep 17 00:00:00 2001 From: Kai Reichart Date: Wed, 27 Nov 2024 14:08:45 +0100 Subject: [PATCH] buildgo --- .github/workflows/build-go.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 }}