Skip to content

.github/workflows/build-release-binaries.yaml #10

.github/workflows/build-release-binaries.yaml

.github/workflows/build-release-binaries.yaml #10

---
on:
release:
types: [created]
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64]
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.34
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "https://dl.google.com/go/go1.18.2.linux-amd64.tar.gz"
project_path: "./cmd/discord_bot"
binary_name: "iqamabot"
extra_files: README.md
- uses: wangyoucao577/go-release-action@v1.34
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "https://dl.google.com/go/go1.18.2.linux-amd64.tar.gz"
project_path: "./cmd/darsrec"
binary_name: "darsrec"
extra_files: README.md