Skip to content

Commit 1446275

Browse files
committed
chore: Optimize action
1 parent c8f0e00 commit 1446275

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646
sed -i '' "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\( TLSv1, TLSv1.1,\)\(.*\)/\1\2\4/" "${{ env.JAVA_HOME }}/conf/security/java.security"
4747
4848
- name: Enable TLS 1.0 and 1.1 in java.security
49+
if: ${{ runner.os != 'Windows' }}
4950
run: |
50-
5151
if [ "$RUNNER_OS" = "Linux" ]; then
5252
sed -i "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\(TLSv1, TLSv1.1,\)\(.*\)/\1\2\4/" "$JAVA_HOME/conf/security/java.security"
5353
elif [ "$RUNNER_OS" = "macOS" ]; then

0 commit comments

Comments
 (0)