Skip to content

Commit

Permalink
Merge pull request #28 from matsuu/change-releases
Browse files Browse the repository at this point in the history
change releases
  • Loading branch information
matsuu committed Jul 25, 2021
2 parents c5069c4 + f11dc92 commit 509f962
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.13
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.13
go-version: 1.16
id: go

- name: Check out code into the Go module directory
Expand All @@ -36,16 +36,16 @@ jobs:
ver=`echo $GITHUB_REF | sed "s@.*/@@"`
mkdir releases
for os in freebsd linux netbsd plan9 ; do
for arch in 386 amd64 arm ; do
for os in linux ; do
for arch in 386 amd64 arm64 ; do
echo Build for ${os}/${arch}
GOOS="${os}" GOARCH="${arch}" go build ./...
zip -q releases/kataribe-${ver}_${os}_${arch}.zip kataribe LICENSE README.md
rm kataribe
done
done
for os in darwin openbsd ; do
for arch in 386 amd64 ; do
for os in darwin ; do
for arch in amd64 arm64 ; do
echo Build for ${os}/${arch}
GOOS="${os}" GOARCH="${arch}" go build ./...
zip -q releases/kataribe-${ver}_${os}_${arch}.zip kataribe LICENSE README.md
Expand Down

0 comments on commit 509f962

Please sign in to comment.