mirror of https://github.com/hashicorp/consul
fix reusable unit to specify go-version rather than go-version-file when the go-version input is supplied.
parent
8c03b36e00
commit
c50b17c46e
|
@ -65,7 +65,7 @@ jobs:
|
|||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||
if: ${{ inputs.go-version != '' }}
|
||||
with:
|
||||
go-version-file: ${{ inputs.go-version }}
|
||||
go-version: ${{ inputs.go-version }}
|
||||
cache: true
|
||||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||
if: ${{ inputs.go-version == '' }}
|
||||
|
|
Loading…
Reference in New Issue