Skip to content

v0.13.0 - 23 January 2024 #20

v0.13.0 - 23 January 2024

v0.13.0 - 23 January 2024 #20

Workflow file for this run

name: Release gactar
on:
release:
types: [created]
jobs:
releases-matrix:
name: Release Go 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\//}"
echo "REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}"
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
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
ldflags: -X "github.com/asmaloney/gactar/util/version.BuildVersion=${{ env.RELEASE_TAG }}"
extra_files: doc examples install CHANGELOG.md CITATION.cff CONTRIBUTING.md LICENSE README.md
asset_name: '${{ env.REPOSITORY_NAME }}-${{ env.RELEASE_TAG }}-${{ env.OS_NAME }}-${{ matrix.goarch }}'