Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 788c8712ba | |||
| 6a81ba8a5c | |||
| 98d3388884 | |||
| 61c18ea964 | |||
| 8e324c0bd2 | |||
| b12edf764f |
27
.gitea/workflows/goreleaser.yaml
Normal file
27
.gitea/workflows/goreleaser.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: stable
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: "~> v2"
|
||||
args: "release --clean"
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
ward
|
||||
dist/
|
||||
|
||||
13
.goreleaser.yaml
Normal file
13
.goreleaser.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
version: 2
|
||||
|
||||
builds:
|
||||
- goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
|
||||
archives:
|
||||
- formats: binary
|
||||
|
||||
gitea_urls:
|
||||
api: https://git.shee.sh/api/v1
|
||||
download: https://git.shee.sh
|
||||
Reference in New Issue
Block a user