Compare commits

...

2 Commits

2 changed files with 11 additions and 12 deletions
@@ -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
+4 -2
View File
@@ -1,8 +1,10 @@
name: Check go code name: Check go code
on: on:
push: * push:
pull_request: * branches: *
pull_request:
branches: *
jobs: jobs:
build-and-release: build-and-release: