diff --git a/.github/workflows/release_test.yml b/.github/workflows/release_test.yml index aed14f2c0..70959e23e 100644 --- a/.github/workflows/release_test.yml +++ b/.github/workflows/release_test.yml @@ -46,8 +46,8 @@ jobs: sed -i '' "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\( TLSv1, TLSv1.1,\)\(.*\)/\1\2\4/" "${{ env.JAVA_HOME }}/conf/security/java.security" - name: Enable TLS 1.0 and 1.1 in java.security + if: ${{ runner.os != 'Windows' }} run: | - if [ "$RUNNER_OS" = "Linux" ]; then sed -i "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\(TLSv1, TLSv1.1,\)\(.*\)/\1\2\4/" "$JAVA_HOME/conf/security/java.security" elif [ "$RUNNER_OS" = "macOS" ]; then