We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f3ee9a commit 50a1831Copy full SHA for 50a1831
.github/workflows/shell-tests.yml
@@ -168,11 +168,11 @@ jobs:
168
# Set OPENNLP_HOME dynamically in the environment
169
$OPENNLP_HOME_PATH = "$Destination\$EXTRACTED_DIR"
170
Write-Host "OPENNLP_HOME=$OPENNLP_HOME_PATH" # Debugging
171
+
172
+ # Ensure OPENNLP_HOME is recognized in the current session
173
+ $env:OPENNLP_HOME = $OPENNLP_HOME_PATH
174
+ $env:PATH = "$env:OPENNLP_HOME\bin;$env:PATH"
175
- # Set the environment variable for future steps
- echo "OPENNLP_HOME=$OPENNLP_HOME_PATH" >> $GITHUB_ENV
- echo "$OPENNLP_HOME_PATH\bin" >> $GITHUB_PATH
-
176
Invoke-Pester -Script "./opennlp-distr/src/test/ps/test_opennlp.Tests.ps1" -Output Detailed
177
shell: pwsh
178
env:
0 commit comments