idun/.forgejo/workflows/release.yml
kekskurse 274a01ee1c
Some checks failed
Dev Version / Release (push) Failing after 6m6s
ci release
2023-10-30 11:42:54 +01:00

30 lines
No EOL
814 B
YAML

name: Dev Version
run-name: ${{ github.actor }} is testing
on:
push:
tags:
- '*'
jobs:
Release:
runs-on: docker
#container:
# image: goreleaser/goreleaser
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
#- run: goreleaser release --skip-publish --snapshot --rm-dist --debug
- name: Setup Go environment
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Run GoReleaser
uses: https://github.com/goreleaser/goreleaser-action@v5
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --clean
env:
GITEA_TOKEN: ${{ secrets.TOKEN }}
GORELEASER_FORCE_TOKEN: "gitea"