gspot/.gitea/workflows/releaser.yaml
abs3nt a7152075fa
All checks were successful
builder / build (push) Successful in 23s
deployer / go-releaser (push) Successful in 55s
job names
2024-04-06 11:17:37 -07:00

29 lines
624 B
YAML

name: deployer
run-name: ${{ gitea.actor }} is releasing
on:
push:
tags:
- "*"
jobs:
go-releaser:
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.ACCESS_TOKEN_GITEA}}