fix: added tests and improved code

This commit is contained in:
Carlos Alexandro Becker committed 2019-05-23 01:40:07 -03:00
1 parent 03d57a80c9
commit 8d181a6a1e
4 files changed
+116 -47

No files matched your search

+11 -3
View File
@@ -1,9 +1,17 @@
workflow "test" {
on = "push"
resolves = ["test-action"]
resolves = [
"test-action-repo",
"test-action-ref",
]
}
action "test-action" {
action "test-action-repo" {
uses = "docker://alpine:3.9"
runs = ["sh", "-c", "echo $GITHUB_REPOSITORY | grep '^nektos/act$'"]
}
}
action "test-action-ref" {
uses = "docker://alpine:3.9"
runs = ["sh", "-c", "echo $GITHUB_REF | grep '^refs/'"]
}