Skip to content

Commit c50b17c

Browse files
committed
fix reusable unit to specify go-version rather than go-version-file when the go-version input is supplied.
1 parent 8c03b36 commit c50b17c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/reusable-unit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
6666
if: ${{ inputs.go-version != '' }}
6767
with:
68-
go-version-file: ${{ inputs.go-version }}
68+
go-version: ${{ inputs.go-version }}
6969
cache: true
7070
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
7171
if: ${{ inputs.go-version == '' }}

0 commit comments

Comments
 (0)