Handle tag-match-latest on Git tag event (#8)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2020-10-31 19:52:55 +01:00
committed by GitHub
parent b4c9b2116e
commit 52c4b1ad0c
5 changed files with 29 additions and 4 deletions

2
dist/index.js generated vendored
View File

@ -209,7 +209,7 @@ class Meta {
}
}
else {
version.latest = true;
version.latest = this.inputs.tagMatchLatest;
}
}
else if (/^refs\/heads\//.test(this.context.ref)) {