Skip to content

v0.1.3 - First build via github actions #1

v0.1.3 - First build via github actions

v0.1.3 - First build via github actions #1

Workflow file for this run

name: build release zip
on:
release:
types: [created]
jobs:
release:
name: Release Go Binary
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: windows
goarch: amd64
goversion: "go.mod"
project_path: "./cmd/upmyip"
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 }}"'