29 lines
594 B
YAML
29 lines
594 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- "**"
|
|
tags:
|
|
- "!**"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.22'
|
|
- name: Copy go-semantic-release plugins and release
|
|
run: |
|
|
/usr/local/bin/semantic-release --version-file \
|
|
--changelog .generated-go-semantic-release-changelog.md \
|
|
--hooks goreleaser \
|
|
--provider=gitea
|
|
env:
|
|
GITEA_TOKEN: ${{ secrets.G_TOKEN }}
|
|
GITEA_HOST: ${{ secrets.G_SERVER_URL}}
|
|
|
|
|
|
|