mirror of https://github.com/hashicorp/consul
updating if logic on steps so they can be parsed.
parent
f4d6ca19f8
commit
a47407115e
|
@ -63,12 +63,12 @@ jobs:
|
||||||
if: ${{ endsWith(inputs.repository-name, '-enterprise') }}
|
if: ${{ endsWith(inputs.repository-name, '-enterprise') }}
|
||||||
run: git config --global url."https://${{ secrets.elevated-github-token }}:@github.com".insteadOf "https://github.com"
|
run: git config --global url."https://${{ secrets.elevated-github-token }}:@github.com".insteadOf "https://github.com"
|
||||||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||||
if: ${{ inputs.go-version != "" }}
|
if: ${{ inputs.go-version != '' }}
|
||||||
with:
|
with:
|
||||||
go-version-file: ${{ inputs.go-version }}
|
go-version-file: ${{ inputs.go-version }}
|
||||||
cache: true
|
cache: true
|
||||||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||||
if: ${{ inputs.go-version == "" }}
|
if: ${{ inputs.go-version == '' }}
|
||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
go-version-file: 'go.mod'
|
||||||
cache: true
|
cache: true
|
||||||
|
|
Loading…
Reference in New Issue