Compare commits
7 Commits
v1.0.1
...
test-featu
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea0511ae49 | ||
|
|
e9235bb816 | ||
|
|
888cae3db2 | ||
|
|
78253e9314 | ||
|
|
77662b71d2 | ||
|
|
207f392e80 | ||
|
|
507a24eb3d |
@@ -1,27 +1,24 @@
|
||||
name: release
|
||||
|
||||
on:
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
- "*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
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:
|
||||
go-version: '>=1.20.1'
|
||||
- name: go build
|
||||
run: go build -o bin/myapp
|
||||
- name: Use Go Action
|
||||
id: use-go-action
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
files: |-
|
||||
bin/**
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
token: ${{ secrets.GITEA_TOKEN }}
|
||||
tag_name: ${{ gitea.ref_name }}
|
||||
name: ${{ gitea.ref_name }}
|
||||
body: "Automated release"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user