Skip to content

新增 Github Actions #7

新增 Github Actions

新增 Github Actions #7

Workflow file for this run

name: Go Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Build releases
run: make releases
- name: Create GitHub Release
id: create_release
uses: softprops/action-gh-release@v2
with:
files: dist/*.tar.gz