From dfc931961f2352a733ed3efc5c29b48b212a652d Mon Sep 17 00:00:00 2001 From: Ross Golder Date: Sat, 13 Nov 2021 13:32:57 +0700 Subject: [PATCH] Try new GitHub action approach. --- .github/workflows/release.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 235f73b..85541bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,20 +21,23 @@ jobs: strategy: matrix: goos: [linux, windows, darwin] - goarch: ["386", amd64] + goarch: ["386", amd64, arm64] exclude: - # windows/386 and darwin/386 seems useless - goarch: "386" goos: windows - goarch: "386" goos: darwin + - goarch: arm64 + goos: windows + - goarch: arm64 + goos: darwin steps: - uses: actions/checkout@master - - uses: actions/setup-go@v2 - with: - go-version: '^1.16.3' + # - uses: actions/setup-go@v2 + # with: + # go-version: '^1.16.3' - name: Set APP_VERSION env run: echo APP_VERSION=$(echo ${GITHUB_REF} | rev | cut -d'/' -f 1 | rev ) >> ${GITHUB_ENV}