Skip to content

v0.6.36

v0.6.36 #195

Workflow file for this run

---
name: Backend release
"on":
release:
types:
- 'released'
jobs:
binary:
strategy:
matrix:
arch: [arm, arm64, amd64, "386"]
os: [linux, darwin, freebsd, windows]
exclude:
- os: darwin
arch: arm
- os: darwin
arch: "386"
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Build and publish binary artifact to GitHub
id: build-and-release-binary
uses: wangyoucao577/go-release-action@8fa1e8368c8465264d64e0198208e10f71474c87 # v1.50
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.os }}
goarch: ${{ matrix.arch }}
goversion: 1.21.1
project_path: ./backend
binary_name: digger-api
pre_command: export CGO_ENABLED=0
ldflags: ${{ matrix.ldflags }}
sha256sum: true
md5sum: false
asset_name: "digger-api-${{matrix.os}}-${{matrix.arch}}"
compress_assets: "OFF"