diff --git a/README.md b/README.md index e600988..ecbfb55 100644 --- a/README.md +++ b/README.md @@ -141,12 +141,16 @@ Based on the pipeline .yml configuration, when there is commits or pull request - 7.2.0-4 + 7.3.0-3 latest + + 7.2.0-4 + v1.0.10 + 7.1.0-5 - v1.0.9 + v1.0.9 7.0.1-1 diff --git a/action.yml b/action.yml index 9b6c1d7..5765d24 100644 --- a/action.yml +++ b/action.yml @@ -95,7 +95,7 @@ runs: echo "DOWNLOAD_URL=https://downloads.eggplantsoftware.com/downloads/EggplantRunner/$EXE_FILENAME" >> $GITHUB_ENV shell: bash env: - DAI_VERSION: 7.2.0-4 # AUB-13519_CICD_Junit_file_implementation + DAI_VERSION: 7.3.0-3 # AUB-13519_CICD_Junit_file_implementation - name: Fetch CLI if: ${{ inputs.eggplantRunnerPath }} @@ -108,7 +108,9 @@ runs: [ -d "${{ inputs.eggplantRunnerPath }}" ] && { echo "Error: Path provided must not be a directory. Eggplant Runner Path: ${{ inputs.eggplantRunnerPath }}"; exit 1; } filename=$(basename "${{ inputs.eggplantRunnerPath }}") - if [[ "$filename" != "$CLI_FILENAME" ]]; then + filename_minor=$(echo "$filename" | grep -oP '\d+\.\d+') + CLI_minor=$(echo "$CLI_FILENAME" | grep -oP '\d+\.\d+') + if [[ "$filename_minor" != "$CLI_minor" ]]; then echo "Error: File found is invalid. Required: $CLI_FILENAME. Please download from $DOWNLOAD_URL"; exit 1; fi echo "Fetching runner from ${{ inputs.eggplantRunnerPath }}"