Skip to content

Commit c72c8d3

Browse files
committed
fix: release action
1 parent acab410 commit c72c8d3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,23 @@ jobs:
99
strategy:
1010
matrix:
1111
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
12-
goos: [linux]
12+
goos: [linux, windows, darwin]
1313
goarch: [amd64]
1414
# goarch: ['386', amd64]
1515
# exclude:
1616
# - goarch: '386'
1717
# goos: darwin
1818
steps:
1919
- uses: actions/checkout@v2
20+
- name: Set VERSION env
21+
run: echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
22+
- name: Set CGO env
23+
run: echo "CGO_ENABLED=1" >> $GITHUB_ENV
2024
- uses: wangyoucao577/[email protected]
2125
with:
2226
github_token: ${{ secrets.RELEASE_TOKEN }}
2327
goos: ${{ matrix.goos }}
2428
goarch: ${{ matrix.goarch }}
2529
build_command: make clean && make
26-
extra_files: .env.sample app build
30+
md5sum: FALSE
31+
extra_files: .env.sample app build template

0 commit comments

Comments
 (0)