feat: add agent-friendly ufile CLI
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
name: CLI Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: tencent-local
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Build CLI binaries
|
||||
run: VERSION=${{ github.ref_name }} ./scripts/build-cli.sh
|
||||
|
||||
- name: Publish Gitea release
|
||||
uses: https://gitea.com/actions/gitea-release-action@v1.3.7
|
||||
with:
|
||||
token: ${{ secrets.RELEASE_TOKEN }}
|
||||
files: |
|
||||
dist/ufile-cli_*
|
||||
dist/checksums.txt
|
||||
Reference in New Issue
Block a user