send2gokapi/.forgejo/workflows/release.yaml
Leon Mika 710c7aee74
Some checks failed
Build and Release / release (push) Failing after 2m17s
Fixed incorrect token
2025-06-01 10:39:24 +10:00

26 lines
658 B
YAML

name: Build and Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: docker
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.24'
- name: Install Goreleaser
run: |
curl -sL https://git.io/goreleaser | bash
- name: Run Goreleaser
env:
GORELEASER_CURRENT_TAG: ${{ github.ref_name }}
GITEA_USERNAME: ${{ secrets.FORGEJO_PACKAGE_PUBLISH_USERNAME }}
GITEA_TOKEN: ${{ secrets.FORGEJO_PACKAGE_PUBLISH_TOKEN }}
run: |
./bin/goreleaser release --clean --skip-validate