fix:修复gen命令无法指定路径问题 #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Coss Cli | |
on: | |
push: | |
tags: | |
- 'v*.*.*' # 只在 tag push 时触发工作流 | |
jobs: | |
build-and-release: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22 | |
env: | |
GO: go | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
make release VERSION=${{ github.ref_name }} TAG=${{ github.ref_name }} |