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