ci: build CLI on master pushes
CLI Build / build (push) Failing after 2s
Release / deploy (push) Successful in 3m56s

This commit is contained in:
loveuer
2026-09-21 00:58:05 -07:00
parent a58990ce66
commit 6895d98606
2 changed files with 8 additions and 15 deletions
+7 -14
View File
@@ -1,26 +1,19 @@
name: CLI Release
name: CLI Build
on:
push:
tags:
- "v*"
branches:
- master
jobs:
release:
build:
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
run: ./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
- name: Verify checksums
run: cd dist && sha256sum -c checksums.txt