diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 7c1a8cf2d..b19bf73fe 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -1,5 +1,8 @@ name: "Create release" +env: + SETUP_GO_VERSION: '1.22' + on: workflow_dispatch: inputs: @@ -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 }}