gspot/.gitea/workflows/releaser.yaml
abs3nt 52dbe52c50
Some checks failed
build-binary / Build (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline was successful
maybe
2024-04-06 10:41:58 -07:00

29 lines
611 B
YAML

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}}