Skip to content

Release v1.1.0

Release v1.1.0 #5

Workflow file for this run

name: Release Chipku
on:
release:
types: [created]
jobs:
releases-matrix:
name: Release Chipku Binaries
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: [amd64, arm64]
exclude:
- goos: windows
goarch: arm64
steps:
- name: Get Release Info
run: |
echo "RELEASE_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
echo "REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
echo "OS_NAME=${{ matrix.goos }}" >> $GITHUB_ENV
- name: OS darwin
if: matrix.goos == 'darwin'
run: echo "OS_NAME=macOS" >> $GITHUB_ENV
- uses: actions/checkout@v3
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
md5sum: false
sha256sum: true
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: 1.19
binary_name: chipku
ldflags: -s -w
extra_files: LICENSE README.md