Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex authored Oct 22, 2019
1 parent 7aed138 commit 6620bdc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- master
path:
paths:
- '*'
- '!azure-pipelines.yml'
- '!.travis.yml'
Expand All @@ -17,12 +17,13 @@ jobs:

strategy:
matrix:
os: [ubuntu-18.04,windows-2019]
os: [ubuntu-18.04]
goos: [ linux, windows ]
arch: [amd64, arm]
go: [ '1.12' ]
exclude:
- os: windows-2019
arch: arm
- goos: windows
arch: arm

steps:

Expand All @@ -38,6 +39,8 @@ jobs:
- name: Generate swagger docs
run: |
go get -u github.com/swaggo/swag/cmd/swag
export PATH=$PATH:$(go env GOPATH)/bin
go build github.com/pufferpanel/pufferd/v2
swag init --parseDependency -g routing/root.go
- name: Build
Expand Down

0 comments on commit 6620bdc

Please sign in to comment.