Skip to content

Commit 3cf18ee

Browse files
committed
fix: CI/CD Error
1 parent e3b6f52 commit 3cf18ee

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,12 @@ jobs:
8686
- name: Enable tls1
8787
if: ${{ runner.os == 'Windows' }}
8888
run: |
89-
sed -i '' "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\( TLSv1, TLSv1.1,\)\(.*\)/\1\2\4/" "${{ env.JAVA_HOME }}/conf/security/java.security"
89+
# sed -i '' "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\( TLSv1, TLSv1.1,\)\(.*\)/\1\2\4/" "${{ env.JAVA_HOME }}/conf/security/java.security"
90+
$filePath = "${{ env.JAVA_HOME }}\conf\security\java.security"
91+
$content = Get-Content $filePath -Raw
92+
$updatedContent = $content -replace '^(jdk.tls.disabledAlgorithms=)(.*)( TLSv1, TLSv1.1,)(.*)', '$1$2$4'
93+
$updatedContent | Set-Content $filePath
94+
shell: pwsh
9095

9196
# java.security open tls1 macOS
9297
- name: Enable tls1

chat2db-client/src/blocks/Setting/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Iconfont from '@/components/Iconfont';
44
import { Modal, Tooltip } from 'antd';
55
import i18n from '@/i18n';
66
import BaseSetting from './BaseSetting';
7-
import AISetting from './AISetting';
7+
import AISetting from './AiSetting';
88
import ProxySetting from './ProxySetting';
99
import About from './About';
1010
import styles from './index.less';

0 commit comments

Comments
 (0)