Skip to content

Commit

Permalink
Merge pull request #34 from earthcube/master
Browse files Browse the repository at this point in the history
Add automated releases
  • Loading branch information
valentinedwv authored Oct 13, 2021
2 parents 3f5185d + 5a52846 commit 4425411
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release_gleaner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release Gleaner binaries

on:
release:
types: [created]

jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/amd64
goos: [linux, windows, darwin]
goarch: [amd64,arm]
# goos: [linux]
# goarch: [amd64]
exclude:
- goarch: "386"
goos: darwin
steps:
- uses: actions/checkout@v2
# - name: Run tests
# run: go test -v -p=1 -timeout=0 ./...
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
project_path: "./cmd/gleaner"
binary_name: "gleaner"
ldflags: "-s -w"
extra_files: README.md configs/
# extra_files: LICENSE README.md

0 comments on commit 4425411

Please sign in to comment.