5 Commits

Author SHA1 Message Date
Tim Basten
888cae3db2 update
All checks were successful
release / release (push) Successful in 5s
2026-02-06 11:20:01 +08:00
Tim Basten
78253e9314 update
Some checks failed
release / release (push) Failing after 3s
2026-02-06 11:14:45 +08:00
Tim Basten
77662b71d2 update
Some checks failed
release / release (push) Failing after 3s
2026-02-06 11:14:02 +08:00
Tim Basten
207f392e80 update
Some checks failed
release / release (push) Failing after 2s
2026-02-06 11:10:57 +08:00
Tim Basten
507a24eb3d update
Some checks failed
Release / release (push) Failing after 2s
2026-02-06 11:06:57 +08:00

View File

@@ -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"