From d346814cac4895a8a1e3680223b9a6c9562e336e Mon Sep 17 00:00:00 2001 From: Jacob Weinstock Date: Fri, 19 Jan 2024 11:17:26 -0700 Subject: [PATCH] Fix release ci step around checkout: Fixes GitHub actions error: "Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/cluster-api-provider-tinkerbell/cluster-api-provider-tinkerbell/.github/actions/setup-go'. Did you forget to run actions/checkout before running your local action?" Signed-off-by: Jacob Weinstock --- .github/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fef09c6b..8aa010e8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -89,7 +89,10 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/setup-go + - uses: actions/setup-go@v5 + with: + go-version: "${{ env.GO_VERSION }}" + cache: true - uses: actions/cache@v4 with: