From 053d2d1114704fd9508d8497ca299d16e77c4944 Mon Sep 17 00:00:00 2001 From: keyuchang Date: Fri, 9 Dec 2022 14:29:30 +0800 Subject: [PATCH] workflow: remove i386 release --- .github/workflows/release.yaml | 2 +- yaccgo/.gorelease.yaml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 yaccgo/.gorelease.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 77db2f0..4f62ff0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,7 +24,7 @@ jobs: with: distribution: goreleaser version: v1.8.3 - args: release --rm-dist + args: release -f .gorelease.yaml --rm-dist workdir: yaccgo/ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/yaccgo/.gorelease.yaml b/yaccgo/.gorelease.yaml new file mode 100644 index 0000000..4d08f64 --- /dev/null +++ b/yaccgo/.gorelease.yaml @@ -0,0 +1,17 @@ +env: + - GO111MODULE=on + +before: + hooks: + - go mod download + +builds: + - + env: + - CGO_ENABLED=0 + goos: + - darwin + - linux + - windows + goarch: + - amd64 \ No newline at end of file