Skip to content

Commit

Permalink
(capi): fix 'Set up Go' step from release workflow (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
narcis96 committed Apr 23, 2024
1 parent 231b9ca commit 25e5ac0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25e5ac0

Please sign in to comment.