mirror of
https://github.com/nitezs/sub2clash.git
synced 2024-12-23 22:04:41 -05:00
21 lines
465 B
YAML
21 lines
465 B
YAML
when:
|
|
- event: tag
|
|
ref: refs/tags/v*
|
|
|
|
steps:
|
|
- name: build
|
|
image: goreleaser/goreleaser:latest
|
|
commands:
|
|
- goreleaser release --clean --skip publish
|
|
- mkdir release
|
|
- mv dist/*.tar.gz release/
|
|
- mv dist/*.zip release/
|
|
- name: release
|
|
image: woodpeckerci/plugin-gitea-release
|
|
settings:
|
|
files: release/*
|
|
api_key:
|
|
from_secret: forgejo_token
|
|
base-url: https://git.nite07.com
|
|
draft: true
|