update
Some checks failed
Release / release (push) Failing after 2s

This commit is contained in:
Tim Basten
2026-02-06 11:06:57 +08:00
parent 4282359e54
commit 507a24eb3d

View File

@@ -1,27 +1,24 @@
name: release 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: gitea.com/actions/gitea-release-action@main
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}}'