From 31d835d251898a791fdda1fe6bc2d9ba3230dfd1 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 30 Jun 2022 15:23:26 +1200 Subject: [PATCH] FIX Quote input yaml strings --- action.yml | 4 ++-- job_creator.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 165e9e6..69288a1 100644 --- a/action.yml +++ b/action.yml @@ -78,8 +78,8 @@ runs: echo "phplinting: ${{ inputs.phplinting }}" >> __inputs.yml echo "phpunit: ${{ inputs.phpunit }}" >> __inputs.yml echo "simple_matrix: ${{ inputs.simple_matrix }}" >> __inputs.yml - echo "github_repository: $GITHUB_REPOSITORY" >> __inputs.yml - echo "github_my_ref: $GITHUB_MY_REF" >> __inputs.yml + echo "github_repository: '$GITHUB_REPOSITORY'" >> __inputs.yml + echo "github_my_ref: '$GITHUB_MY_REF'" >> __inputs.yml if [[ "$EXTRA_JOBS" != "" ]]; then echo "extra_jobs:" >> __inputs.yml echo "$EXTRA_JOBS" >> __inputs.yml diff --git a/job_creator.php b/job_creator.php index 32d1833..53a0264 100644 --- a/job_creator.php +++ b/job_creator.php @@ -19,7 +19,7 @@ public function getInstallerVersion(string $githubRepository, string $branch): s return '4.x-dev'; } if (in_array($repo, LOCKSTEPED_REPOS)) { - return '4' . $portions[1] . 'x-dev'; + return '4.' . $portions[1] . '.x-dev'; } else { // use the latest minor version of installer $installerVersions = array_keys(INSTALLER_TO_PHP_VERSIONS);