Skip to content

Commit

Permalink
Merge pull request #4 from jmriebold/releases-fixes
Browse files Browse the repository at this point in the history
chore(ci): fixing build versions for releases
  • Loading branch information
stvnksslr authored Sep 10, 2020
2 parents 8f5c0d1 + 09e6923 commit 0a99f04
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: build
run: go build

lint:
name: lint
runs-on: ubuntu-latest
Expand All @@ -23,6 +26,7 @@ jobs:
uses: golangci/golangci-lint-action@v2
with:
version: v1.29

build-docker:
runs-on: ubuntu-latest
steps:
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,60 +7,65 @@ jobs:
steps:
- uses: actions/checkout@master
- name: compile and release
uses: ngs/[email protected].1
uses: ngs/[email protected].2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOARCH: amd64
GOOS: linux
EXTRA_FILES: "LICENSE"

release-linux-arm:
name: release linux/386
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: compile and release
uses: ngs/[email protected].1
uses: ngs/[email protected].2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOARCH: "arm"
GOOS: linux
EXTRA_FILES: "LICENSE"

release-linux-arm64:
name: release linux/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: compile and release
uses: ngs/[email protected].1
uses: ngs/[email protected].2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOARCH: arm64
GOOS: linux
EXTRA_FILES: "LICENSE"

release-darwin-amd64:
name: release darwin/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: compile and release
uses: ngs/[email protected].1
uses: ngs/[email protected].2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOARCH: amd64
GOOS: darwin
EXTRA_FILES: "LICENSE"

release-windows-amd64:
name: release windows/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: compile and release
uses: ngs/[email protected].1
uses: ngs/[email protected].2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOARCH: amd64
GOOS: windows
EXTRA_FILES: "LICENSE"

release-docker:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 0a99f04

Please sign in to comment.