Skip to content

Commit

Permalink
Try new GitHub action approach.
Browse files Browse the repository at this point in the history
  • Loading branch information
rossigee committed Nov 13, 2021
1 parent 427cadf commit dfc9319
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit dfc9319

Please sign in to comment.