mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-09 08:11:10 +08:00
debug ci
This commit is contained in:
9
.github/workflows/goreleaser.yml
vendored
9
.github/workflows/goreleaser.yml
vendored
@@ -2,6 +2,8 @@ name: goreleaser
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
@@ -22,6 +24,11 @@ jobs:
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
-
|
||||
name: Set Release Version
|
||||
id: set_version
|
||||
run: |
|
||||
echo "RELEASE_VERSION=latest" >> $GITHUB_ENV
|
||||
-
|
||||
name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
@@ -29,7 +36,7 @@ jobs:
|
||||
# either 'goreleaser' (default) or 'goreleaser-pro'
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
args: release --clean
|
||||
args: release --clean --snapshot
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
|
||||
|
||||
Reference in New Issue
Block a user