Skip to content

Commit

Permalink
fix reusable unit to specify go-version rather than go-version-file w…
Browse files Browse the repository at this point in the history
…hen the go-version input is supplied.
  • Loading branch information
jmurret committed Jul 13, 2023
1 parent 8c03b36 commit c50b17c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 == '' }}
Expand Down

0 comments on commit c50b17c

Please sign in to comment.