Skip to content

Commit

Permalink
Use right go version in release action (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel authored Apr 11, 2024
1 parent e266152 commit d995dad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "Create release"

env:
SETUP_GO_VERSION: '1.22'

on:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -75,6 +78,10 @@ jobs:
fetch-depth: 0
ref: ${{ github.ref_name }} # checkout to latest branch changes ( by default this action checkouts to the SHA that triggers action )

- uses: actions/setup-go@v5
with:
go-version: ${{ env.SETUP_GO_VERSION }}

- name: Create changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit d995dad

Please sign in to comment.