Compare commits
3 Commits
v_release_
...
v_release_
| Author | SHA1 | Date | |
|---|---|---|---|
|
a0f67464b5
|
|||
|
ff5699e627
|
|||
|
dc0040c2d1
|
@@ -20,17 +20,14 @@ jobs:
|
|||||||
id: read_release
|
id: read_release
|
||||||
with:
|
with:
|
||||||
path: .changes/${{ github.ref_name }}.md
|
path: .changes/${{ github.ref_name }}.md
|
||||||
- name: Setup go for using go gitea actions
|
- name: Release
|
||||||
uses: https://gitea.com/actions/setup-go@v4
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
#env:
|
||||||
go-version: '>=1.20.1'
|
# NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
||||||
- name: Use Go Action to release
|
|
||||||
id: use-go-action
|
|
||||||
uses: https://gitea.com/actions/release-action@main
|
|
||||||
with:
|
with:
|
||||||
files: |-
|
files: |-
|
||||||
target/release/cl-cli
|
target/release/cl-cli
|
||||||
config.toml.dist
|
config.toml.dist
|
||||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
md5sum: true
|
||||||
body: |
|
sha256sum: true
|
||||||
${{ steps.read_release.outputs.content }}
|
body_path: .changes/${{ github.ref_name }}.md
|
||||||
|
|||||||
20
.gitea/workflows/release/check.yaml
Normal file
20
.gitea/workflows/release/check.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Check go code
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: *
|
||||||
|
pull_request:
|
||||||
|
branches: *
|
||||||
|
|
||||||
|
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
|
||||||
|
- name: Run tests
|
||||||
|
run: cargo test
|
||||||
Reference in New Issue
Block a user