Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeSchulze committed Apr 28, 2024
1 parent 818fa6e commit 102fc6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ runs:
# install required packages
dotnet add package Microsoft.NET.Test.Sdk
# for gdunit version less than 4.2.2 we need to load api version 4.2.1.1
gdUnitVersion="${{ inputs.version#v }}"
if (( $(echo "$gdUnitVersion < v4.2.2" | bc -l) )); then
gdUnitVersion=$(echo "${{ inputs.version }}" | sed 's/^v//')
if [[ $(echo "$gdUnitVersion < 4.2.2" | bc -l) == 1 ]]; then
echo "gdUnit4 version $gdUnitVersion less than 4.2.2, update project to gdUnit4.api v4.2.1.1"
dotnet add package gdUnit4.api --version 4.2.1.1
else
Expand Down

0 comments on commit 102fc6b

Please sign in to comment.