Skip to content

fix:修复gen命令无法指定路径问题 #14

fix:修复gen命令无法指定路径问题

fix:修复gen命令无法指定路径问题 #14

Workflow file for this run

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 }}