Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kahoona77 committed Dec 29, 2020
1 parent 08a9b2b commit f979ae8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
go-version: ^1.15
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build
- name: Build linux amd64
run: GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -mod=vendor -v -o somfy-rts-gateway
- name: Test
run: go test -mod=vendor -v ./...
- name: Build
- name: Build linux arm
run: GOOS=linux GOARCH=arm GOARM=5 CGO_ENABLED=0 go build -mod=vendor -v -o somfy-rts-gateway-arm
- name: Upload artifacts
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -61,6 +61,7 @@ jobs:
release:
name: Release somfy-rts-gateway
if: github.event_name == 'push' && contains(github.ref, '/tags/v')
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit f979ae8

Please sign in to comment.