ci: remove hook goreleaser
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -85,10 +85,23 @@ jobs:
|
||||
chmod +x "$PLUGIN_DIR/provider-zexlab"
|
||||
|
||||
- uses: go-semantic-release/action@v1
|
||||
id: semrel
|
||||
with:
|
||||
github-token: ${{ secrets.ZX_TOKEN }}
|
||||
hooks: goreleaser
|
||||
allow-initial-development-versions: true
|
||||
custom-arguments: "--provider zexlab"
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.ZX_TOKEN }}
|
||||
|
||||
- name: Fetch new tag
|
||||
if: steps.semrel.outputs.version != ''
|
||||
run: git fetch --tags origin
|
||||
|
||||
- name: Run GoReleaser
|
||||
if: steps.semrel.outputs.version != ''
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
with:
|
||||
version: "~> v2"
|
||||
args: release --clean --skip=validate
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.ZX_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user