mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
parent
3734c54d8f
commit
940b4385bf
1272 changed files with 398621 additions and 3 deletions
10
.github/main.workflow
vendored
10
.github/main.workflow
vendored
|
@ -7,7 +7,7 @@ action "check" {
|
|||
uses = "./.github/actions/check"
|
||||
}
|
||||
|
||||
action "branch-filter" {
|
||||
action "release-filter" {
|
||||
needs = ["check"]
|
||||
uses = "actions/bin/filter@master"
|
||||
args = "tag v*"
|
||||
|
@ -15,7 +15,7 @@ action "branch-filter" {
|
|||
|
||||
# only release on `v*` tags
|
||||
action "release" {
|
||||
needs = ["branch-filter"]
|
||||
needs = ["release-filter"]
|
||||
uses = "docker://goreleaser/goreleaser:v0.98"
|
||||
args = "release"
|
||||
secrets = ["GITHUB_TOKEN"]
|
||||
|
@ -27,3 +27,9 @@ action "build" {
|
|||
args = "--snapshot --rm-dist"
|
||||
secrets = ["SNAPSHOT_VERSION"]
|
||||
}
|
||||
|
||||
# local action for `make vendor`
|
||||
action "vendor" {
|
||||
uses = "docker://golang:1.11.4"
|
||||
args = "go mod vendor"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue