Skip to content

Commit

Permalink
Update DAI version support 7.3.0-3
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiLiangYeoh committed May 3, 2024
1 parent a350df9 commit cbcdaf7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,16 @@ Based on the pipeline .yml configuration, when there is commits or pull request
</thead>
<tbody>
<tr>
<td>7.2.0-4</td>
<td>7.3.0-3</td>
<td><a href="https://github.com/marketplace/actions/eggplant-runner">latest</a></td>
</tr>
<tr>
<td>7.2.0-4</td>
<td><a href="https://github.com/marketplace/actions/eggplant-runner?version=v1.0.10">v1.0.10</a></td>
</tr>
<tr>
<td>7.1.0-5</td>
<td><a href="https://github.com/marketplace/actions/eggplant-runner?version=v1.0.8">v1.0.9</a></td>
<td><a href="https://github.com/marketplace/actions/eggplant-runner?version=v1.0.9">v1.0.9</a></td>
</tr>
<tr>
<td>7.0.1-1</td>
Expand Down
6 changes: 4 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}"
Expand Down

0 comments on commit cbcdaf7

Please sign in to comment.