Skip to content

Commit 8ecd721

Browse files
committed
use go.mod in ci
1 parent 35e4d96 commit 8ecd721

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22
on:
33
push:
44
tags:
5-
- '*'
5+
- "*"
66

77
jobs:
88
create_release:
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Go
1313
uses: actions/setup-go@v2
1414
with:
15-
go-version: 1.20.3
15+
go-version-file: "./go.mod"
1616
- name: Build artifacts
1717
run: |
1818
for cfgstr in "darwin amd64" "darwin arm64" "linux amd64" "windows amd64"; do
@@ -29,4 +29,4 @@ jobs:
2929
mtb-darwin-amd64
3030
mtb-darwin-arm64
3131
mtb-linux-amd64
32-
mtb-windows-amd64
32+
mtb-windows-amd64

0 commit comments

Comments
 (0)