Skip to content

v0.2.1 - Better spinner #4

v0.2.1 - Better spinner

v0.2.1 - Better spinner #4

Workflow file for this run

name: build release zip
on:
release:
types: [created]
permissions:
contents: write
packages: write
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "go.mod"
project_path: "./cmd/upmyip"
extra_files: "extras/*"
ldflags:
'-X "github.com/danbrakeley/upmyip/internal/buildvar.Version=${{ github.event.release.tag_name }}"
-X "github.com/danbrakeley/upmyip/internal/buildvar.BuildTime=${{ github.event.release.created_at
}}" -X "github.com/danbrakeley/upmyip/internal/buildvar.ReleaseURL=${{
github.event.release.html_url }}"'