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