We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86cf92d commit 5d79f90Copy full SHA for 5d79f90
.github/workflows/integration.yml
@@ -107,8 +107,8 @@ jobs:
107
shell: cmd
108
env:
109
REDIS_VERSION: ${{env.redis_stack_version}}
110
- run: |
111
- # trim version to major.minor.patch format
112
- REDIS_VERSION=$(echo "$REDIS_VERSION" | sed -E 's/[^0-9]*([0-9]+\.[0-9]+(\.[0-9]+)?).*/\1/')
113
- echo $REDIS_VERSION
+ run: |
+ rem Extract part of the version before the '-' character
+ for /f "tokens=1 delims=-" %%a in ("%REDIS_VERSION%") do set REDIS_VERSION=%%a
+ echo %REDIS_VERSION%
114
dotnet test -f net481 --no-build --verbosity detailed -p:BuildInParallel=false tests/Test.proj --logger GitHubActions
0 commit comments