File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -297,9 +297,12 @@ jobs:
297
297
298
298
- name : Run E2E Tests
299
299
run : |
300
- if [ -z "${{ inputs.consensus-node-version }}" ]; then
301
- export CONSENSUS_NODE_VERSION=$(grep 'TEST_LOCAL_HEDERA_PLATFORM_VERSION' version-test.ts | sed -E "s/.*'([^']+)';/\1/")
302
- # echo "No consensus node version provided, defaulting to what is specified in the test"
300
+ if [[ -z "${{ inputs.consensus-node-version }}" ]]; then
301
+ if [[ "${{ inputs.local-java-build }}" != "true" ]]; then
302
+ echo "No consensus node version provided, using default from version-test.ts"
303
+ else
304
+ export CONSENSUS_NODE_VERSION=$(grep 'TEST_LOCAL_HEDERA_PLATFORM_VERSION' version-test.ts | sed -E "s/.*'([^']+)';/\1/")
305
+ fi
303
306
else
304
307
export CONSENSUS_NODE_VERSION=${{ inputs.consensus-node-version }}
305
308
fi
You can’t perform that action at this time.
0 commit comments