fix reusable unit to specify go-version rather than go-version-file when the go-version input is supplied.

jm/go-testcontainers
John Murret 2023-07-13 12:30:27 -06:00
parent 8c03b36e00
commit c50b17c46e
1 changed files with 1 additions and 1 deletions

View File

@ -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 == '' }}