diff --git a/.github/workflows/release_test.yml b/.github/workflows/release_test.yml index cd331b49d..61d37b766 100644 --- a/.github/workflows/release_test.yml +++ b/.github/workflows/release_test.yml @@ -43,7 +43,7 @@ jobs: run: | if [ "$RUNNER_OS" = "Windows" ]; then sed -i "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\(TLSv1, TLSv1.1,\)\(.*\)/\1\2\4/" "$JAVA_HOME/conf/security/java.security" - if [ "$RUNNER_OS" = "Linux" ]; then + elif [ "$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 sed -i '' "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\(TLSv1, TLSv1.1,\)\(.*\)/\1\2\4/" "$JAVA_HOME/conf/security/java.security"