fix(dns): serve interface parser #38
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.18 | |
- uses: actions/checkout@v2 | |
- name: build matrix | |
run: | | |
mv .github/* . || true | |
make build GO='GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go' | |
tar czvf sower-linux-amd64.tar.gz sower sowerd sower.hcl sower.yaml sower.toml sower.service sowerd.service | |
make clean | |
make build GO='GOOS=linux GOARCH=arm CGO_ENABLED=0 go' | |
tar czvf sower-linux-arm.tar.gz sower sowerd sower.hcl sower.yaml sower.toml sower.service sowerd.service | |
make clean | |
make build GO='GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go' | |
tar czvf sower-linux-arm64.tar.gz sower sowerd sower.hcl sower.yaml sower.toml sower.service sowerd.service | |
make clean | |
make build GO='GOOS=linux GOARCH=mips CGO_ENABLED=0 go' | |
tar czvf sower-linux-mips.tar.gz sower sowerd sower.hcl sower.yaml sower.toml sower.service sowerd.service | |
make clean | |
make build GO='GOOS=linux GOARCH=mipsle CGO_ENABLED=0 go' | |
tar czvf sower-linux-mipsle.tar.gz sower sowerd sower.hcl sower.yaml sower.toml sower.service sowerd.service | |
make clean | |
make build GO='GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go' | |
tar czvf sower-darwin-amd64.tar.gz sower sowerd sower.hcl sower.yaml sower.toml sower.plist | |
make clean | |
make build GO='GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go' | |
tar czvf sower-darwin-arm64.tar.gz sower sowerd sower.hcl sower.yaml sower.toml sower.plist | |
make clean | |
make build GO='GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go' | |
mv sower sower.exe | |
mv sowerd sowerd.exe | |
tar czvf sower-windows-amd64.tar.gz sower.exe sowerd.exe sower.hcl sower.yaml sower.toml sower_run.vbs | |
make clean | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "*.tar.gz" | |
token: ${{ secrets.GITHUB_TOKEN }} |