这是indexloc提供的服务,不要输入任何密码
Skip to content

v0.3.5

v0.3.5 #15

Workflow file for this run

name: Release
on:
release:
types: [created]
permissions:
contents: write
packages: write
jobs:
release-linux-amd64:
name: release linux/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
project_path: "./cmd/"
build_flags: -v
ldflags: -X "version.VERSION=${{ github.ref_name }}"
# -X "main.buildTime=${{ env.BUILD_TIME }}" -X main.gitCommit=${{ github.sha }} -X main.gitRef=${{ github.ref }}
extra_files: LICENSE README.md