Files
cl-cli/.gitea/workflows/release/build-and-release.yaml
Julien Fastré ca46a9eccc
Some checks failed
Release binary for cl-cli / build-and-release (push) Failing after 1m19s
Update build-and-release workflow to use full GitHub URL for release action
2025-10-25 00:14:41 +02:00

34 lines
950 B
YAML

name: Release binary for cl-cli
on:
push:
tags:
- v**
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: https://github.com/actions/checkout@v4
- name: Install rust toolchain
uses: https://github.com/dtolnay/rust-toolchain@stable
- name: Build binaries
run: cargo build --release
- name: Read release content
uses: https://github.com/jaywcjlove/github-action-read-file@main
id: read_release
with:
path: .changes/${{ github.ref_name }}.md
- name: Release
uses: https://github.com/akkuman/gitea-release-action@v1
#env:
# NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
with:
files: |-
target/release/cl-cli
config.toml.dist
md5sum: true
sha256sum: true
body_path: .changes/${{ github.ref_name }}.md