Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 873a4c5237 | |||
|
|
ea0511ae49 | ||
|
|
e9235bb816 | ||
|
|
888cae3db2 | ||
|
|
78253e9314 | ||
|
|
77662b71d2 | ||
|
|
207f392e80 | ||
|
|
507a24eb3d |
@@ -3,25 +3,22 @@ name: release
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- "*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: setup go
|
|
||||||
uses: https://github.com/actions/setup-go@v4
|
- name: Create Gitea Release
|
||||||
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.20.1'
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
- name: go build
|
tag_name: ${{ gitea.ref_name }}
|
||||||
run: go build -o bin/myapp
|
name: ${{ gitea.ref_name }}
|
||||||
- name: Use Go Action
|
body: "Automated release"
|
||||||
id: use-go-action
|
|
||||||
uses: https://gitea.com/actions/release-action@main
|
|
||||||
with:
|
|
||||||
files: |-
|
|
||||||
bin/**
|
|
||||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user