Skip to content

Commit 0b66994

Browse files
authored
fix(ci): add missing Go setup step in release workflow (#361)
1 parent ed575f9 commit 0b66994

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/release.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,15 @@ jobs:
324324
- name: Checkout
325325
uses: actions/checkout@v4
326326
with:
327+
ref: "main"
327328
ssh-key: ${{secrets.DEPLOY_SSH_PRIVATE_KEY }}
328329

330+
- name: Setup go
331+
uses: actions/setup-go@v5
332+
with:
333+
go-version-file: 'go.mod'
334+
cache: true
335+
329336
- name: Bump provider version in examples for stable version
330337
if: ${{ needs.validate.outputs.enable_alpha == 'false' }}
331338
run: |
@@ -446,6 +453,12 @@ jobs:
446453
ssh-key: ${{secrets.DEPLOY_SSH_PRIVATE_KEY }}
447454
ref: "main"
448455

456+
- name: Setup go
457+
uses: actions/setup-go@v5
458+
with:
459+
go-version-file: 'go.mod'
460+
cache: true
461+
449462
- name: Build docs for stable release
450463
run: |
451464
make docs

0 commit comments

Comments
 (0)