ytdl-web/.gitea/workflows/release.yaml

24 lines
533 B
YAML
Raw Normal View History

name: Release
on:
push:
tags:
- "*"
jobs:
ytdl-web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
- uses: github.com/docker/setup-qemu-action@v2
- uses: github.com/docker/setup-buildx-action@v2
- uses: github.com/goreleaser/goreleaser-action@v2
with:
version: latest
args: release --snapshot --clean
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}