Fix for composite actions not having INPUT_ vars

See: https://github.com/actions/runner/issues/665
This commit is contained in:
Phil Jay
2021-10-22 11:49:04 +11:00
parent f9aea6e594
commit a7121378a5
7 changed files with 19 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ function init_repo {
@test "fails if invalid scheme given" {
init_repo
export INPUT_SCHEME="foover"
export scheme="foover"
run ../../version-lookup.sh
@@ -81,7 +81,7 @@ function init_repo {
@test "returns a calver if no normal version detected and calver scheme specified" {
init_repo
export INPUT_SCHEME="calver"
export scheme="calver"
run ../../version-lookup.sh