Delete .github/workflow/.github/workflows/release.yml
This commit is contained in:
37
.github/workflow/.github/workflows/release.yml
vendored
37
.github/workflow/.github/workflows/release.yml
vendored
@@ -1,37 +0,0 @@
|
||||
name: Create Release & Upload Assets
|
||||
|
||||
on:
|
||||
push:
|
||||
# Sequence of patterns matched against refs/tags
|
||||
tags:
|
||||
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||
|
||||
env:
|
||||
VERSION_TAG: '${{ github.ref_name }}'
|
||||
CURL_TOKEN: '${{ secrets.TOKEN_GITEA }}'
|
||||
|
||||
jobs:
|
||||
goreleaser:
|
||||
name: Upload Assets To Gitea w/ goreleaser
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
-
|
||||
name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.22
|
||||
-
|
||||
name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: v1.26.2
|
||||
args: release --clean
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.TOKEN_GITEA }}
|
||||
GORELEASER_FORCE_TOKEN: gitea
|
||||
Reference in New Issue
Block a user