From 25e5ac0c3fb9c40314dae9df333a18fde9c32cbb Mon Sep 17 00:00:00 2001 From: narcis96 <7252787+narcis96@users.noreply.github.com> Date: Tue, 23 Apr 2024 18:10:15 +0300 Subject: [PATCH] (capi): fix 'Set up Go' step from release workflow (#68) --- .github/workflows/release.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fbd6eca7..2a41d9f9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,17 +12,17 @@ jobs: id-token: write contents: write steps: - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version-file: "go.mod" - cache: false - name: Check out code into the Go module directory uses: actions/checkout@v4 - id: get_version run: | RELEASE_VERSION=$(echo $GITHUB_REF | sed -nE 's!refs/tags/v!!p') echo "::set-output name=release_version::$RELEASE_VERSION" + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: "go.mod" + cache: false - name: Prepare all release files for the provider run: | make release TAG=$RELEASE_VERSION