Skip to content

v2.3.6 - dependencies #58

v2.3.6 - dependencies

v2.3.6 - dependencies #58

Workflow file for this run

name: Release
on:
release:
types:
- released
- edited
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: ["386", amd64]
exclude:
# windows/386 and darwin/386 seems useless
- goarch: "386"
goos: windows
- goarch: "386"
goos: darwin
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1.49
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goversion: 1.21
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: slack-bot
project_path: "./cmd/bot"
build_flags: "-trimpath"
ldflags: "-s -w -X github.com/innogames/slack-bot/v2/bot.Version=${{ github.event.release.tag_name }}"