buildgo
This commit is contained in:
parent
c9d9b224ce
commit
5de16d0f11
1 changed files with 4 additions and 2 deletions
6
.github/workflows/build-go.yml
vendored
6
.github/workflows/build-go.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue