Skip to content
This repository was archived by the owner on May 2, 2020. It is now read-only.

Commit 723a353

Browse files
committedMar 15, 2019
Build on every push, run release only on tags
1 parent 08daf6b commit 723a353

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎.github/main.workflow

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
workflow "Create Release from Tag" {
1+
workflow "Build and Release" {
22
on = "push"
33
resolves = [
44
"On Tag",
@@ -7,19 +7,19 @@ workflow "Create Release from Tag" {
77
]
88
}
99

10+
action "Build Plugin" {
11+
uses = "LucaFeger/action-maven-cli@9d8f23af091bd6f5f0c05c942630939b6e53ce44"
12+
args = "package"
13+
}
14+
1015
action "On Tag" {
1116
uses = "actions/bin/filter@d820d56839906464fb7a57d1b4e1741cf5183efa"
1217
args = "tag v*"
13-
}
14-
15-
action "Build Plugin" {
16-
uses = "LucaFeger/action-maven-cli@9d8f23af091bd6f5f0c05c942630939b6e53ce44"
17-
args = "clean package"
18-
needs = ["On Tag"]
18+
needs = ["Build Plugin"]
1919
}
2020

2121
action "GitHub Release" {
2222
uses = "./releasetools/hub-release"
23-
needs = ["Build Plugin"]
23+
needs = ["On Tag"]
2424
secrets = ["RELEASE_TOKEN"]
2525
}

0 commit comments

Comments
 (0)