fix #24 - support both branch refs and hash refs

This commit is contained in:
Casey Lee
2019-01-31 00:18:52 -08:00
parent ecae898a7b
commit bc5c23e8e4
4 changed files with 32 additions and 10 deletions

14
actions/testdata/gitref.workflow vendored Normal file
View File

@@ -0,0 +1,14 @@
workflow "New workflow" {
on = "push"
resolves = ["branch-ref","commit-ref"]
}
action "branch-ref" {
uses = "actions/docker/cli@master"
args = "version"
}
action "commit-ref" {
uses = "actions/docker/cli@c08a5fc9e0286844156fefff2c141072048141f6"
args = "version"
}