Skip to content

chore: 更新依赖项 #84

chore: 更新依赖项

chore: 更新依赖项 #84

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
- '!v*-alpha'
- '!v*-beta'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: setup Go
uses: actions/setup-go@v5
with:
go-version: 1.23.x
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: release
uses: goreleaser/goreleaser-action@v6
with:
workdir: ./cmd/web
version: '~> v2'
args: release
env:
# 如果需要操作其它仓库,比如将 brew 写入其它仓库中,
# 则不能使用默认的 GITHUB_TOKEN,需要自行创建。
GITHUB_TOKEN: ${{ secrets.HOMEBREW }}