From c50b17c46ec64dfea20f61d242e1998c804eb8f7 Mon Sep 17 00:00:00 2001 From: John Murret Date: Thu, 13 Jul 2023 12:30:27 -0600 Subject: [PATCH] fix reusable unit to specify go-version rather than go-version-file when the go-version input is supplied. --- .github/workflows/reusable-unit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-unit.yml b/.github/workflows/reusable-unit.yml index ec8562dd70..7442b06c33 100644 --- a/.github/workflows/reusable-unit.yml +++ b/.github/workflows/reusable-unit.yml @@ -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 == '' }}