30 lines
No EOL
795 B
YAML
30 lines
No EOL
795 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: 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" |