Skip to content

Version 1.0.0

Version 1.0.0 #13

Workflow file for this run

# .github/workflows/github-release-publish.yml
name: Publish artifacts to github release
on:
release:
types: [published]
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
permissions:
id-token: write # To sign.
contents: write # To upload release assets.
actions: read # To read workflow path.
strategy:
fail-fast: false
matrix:
goos: [linux, darwin, windows]
goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "redis-benchmark-go"
sha256sum: true
asset_name: redis-benchmark-go-${{ matrix.goos }}-${{ matrix.goarch }}
build_command: "make build"