From ed02e04337e9be417c36d9c82f4c96411551369e Mon Sep 17 00:00:00 2001 From: narcis96 Date: Tue, 23 Apr 2024 18:00:19 +0300 Subject: [PATCH] (capi): fix 'Set up Go' step from release workflow --- .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 fbd6eca72..2a41d9f93 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