Skip to content

v0.0.2

v0.0.2 #4

Workflow file for this run

name: Build logingestor
on:
release:
types: [created]
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [386, amd64, arm64]
exclude:
- goos: darwin
goarch: 386
steps:
- uses: actions/checkout@v4
- name: Get release tag
id: release_tag
run: |
echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "logingestor"
ldflags: "-X main.version=${{ steps.release_tag.outputs.RELEASE_TAG }}"
extra_files: LICENSE README.md