Skip to content

Release TLock

Release TLock #1

Workflow file for this run

name: Release TLock
on:
release:
types: [created]
permissions:
contents: write
packages: write
jobs:
releases-matrix:
name: Release TLock
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
project_path: "./tlock"
binary_name: "tlock"
ldflags: "-X github.com/eklairs/tlock/tlock-internal/constants.VERSION=${{ github.ref_name }} -w -s"
md5sum: false
sha256sum: true