This commit is contained in:
abs3nt 2024-04-06 10:41:58 -07:00
parent bdec590110
commit 52dbe52c50
Signed by: abs3nt
GPG Key ID: A7BD96A8BAB04C09
2 changed files with 29 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Build name: build-binary
run-name: ${{ gitea.actor }} is building run-name: ${{ gitea.actor }} is building
on: [push] on: [push]

View File

@ -0,0 +1,28 @@
name: deployer
run-name: ${{ gitea.actor }} is releasing
on:
push:
tags:
- "*"
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup up go
uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: nightly
args: release --clean
env:
gitea_token: ${{ secrets.gitea_token}}