Skip to content

Commit c15f02b

Browse files
committed
fix: update release workflow Go version to 1.25 and ensure dist directory exists
1 parent 83924b5 commit c15f02b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: '1.21'
22+
go-version: '1.25'
2323
cache: true
2424

2525
- name: Run tests
@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup Go
3939
uses: actions/setup-go@v5
4040
with:
41-
go-version: '1.21'
41+
go-version: '1.25'
4242
cache: true
4343

4444
- name: Get version from tag
@@ -47,6 +47,7 @@ jobs:
4747

4848
- name: Build binaries
4949
run: |
50+
mkdir -p dist
5051
VERSION=${{ steps.version.outputs.VERSION }}
5152
LDFLAGS="-s -w -X main.version=${VERSION}"
5253

0 commit comments

Comments
 (0)