Skip to content

fix(cmd/web): 修正翻译内容错误 #30

fix(cmd/web): 修正翻译内容错误

fix(cmd/web): 修正翻译内容错误 #30

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@v4
with:
go-version: 1.21.x
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: release
uses: goreleaser/goreleaser-action@v4
with:
workdir: ./cmd/web
version: latest
args: release
env:
# 如果需要操作其它仓库,比如将 brew 写入其它仓库中,
# 则不能使用默认的 GITHUB_TOKEN,需要自行创建。
GITHUB_TOKEN: ${{ secrets.HOMEBREW }}