updating if logic on steps so they can be parsed.

jm/go-testcontainers
John Murret 2023-07-13 12:26:42 -06:00
parent f4d6ca19f8
commit a47407115e
1 changed files with 2 additions and 2 deletions

View File

@ -63,12 +63,12 @@ jobs:
if: ${{ endsWith(inputs.repository-name, '-enterprise') }}
run: git config --global url."https://${{ secrets.elevated-github-token }}:@github.com".insteadOf "https://github.com"
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
if: ${{ inputs.go-version != "" }}
if: ${{ inputs.go-version != '' }}
with:
go-version-file: ${{ inputs.go-version }}
cache: true
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
if: ${{ inputs.go-version == "" }}
if: ${{ inputs.go-version == '' }}
with:
go-version-file: 'go.mod'
cache: true