From 10aea279723edbdfa9a7c407a112713feba63098 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Wed, 16 Oct 2024 00:46:15 +0800 Subject: [PATCH] fix ci. --- .gitea/workflows/build_windows.yaml | 1 + CMakeLists.txt | 2 +- resources/build.sh | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build_windows.yaml b/.gitea/workflows/build_windows.yaml index d56220b..98b1304 100644 --- a/.gitea/workflows/build_windows.yaml +++ b/.gitea/workflows/build_windows.yaml @@ -11,6 +11,7 @@ jobs: mkdir C:\Windows\system32\config\systemprofile\.ssh } echo $env:SSH_PRIVATE_KEY | Out-File -FilePath C:\Windows\system32\config\systemprofile\.ssh\id_ed25519 -Encoding ascii + icacls C:\Windows\system32\config\systemprofile\.ssh\id_ed25519 /inheritance:r /grant:r "Administrators:F" ssh-keyscan -t ed25519 -p 22022 frp-by1.wwvvww.cn | Out-File -FilePath C:\Windows\system32\config\systemprofile\.ssh\known_hosts -Encoding ascii env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} diff --git a/CMakeLists.txt b/CMakeLists.txt index 8260654..b4828ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,7 @@ execute_process( include(CPack) include(FetchContent) FetchContent_Declare(Kylin - GIT_REPOSITORY https://gitea.amass.fun/amass/Kylin.git + GIT_REPOSITORY https://amass.fun/gitea/amass/Kylin.git ) set(KYLIN_WITH_FLUENT ON) FetchContent_MakeAvailable(Kylin) diff --git a/resources/build.sh b/resources/build.sh index 9f2c8ce..84c5dfd 100755 --- a/resources/build.sh +++ b/resources/build.sh @@ -2,7 +2,7 @@ base_path=$(pwd) build_path=${base_path}/build -qt_prefix_path="/opt/Qt/6.7.3/gcc_64" +qt_prefix_path="/opt/Qt/6.8.0/gcc_64" debug_deploy=false @@ -31,7 +31,7 @@ elif [ -d "/opt/Qt/5.15.2/gcc_64" ]; then -DQt5Svg_DIR=${qt_prefix_path}/lib/cmake/Qt5Svg " else cmake_qt_parameters="" - echo "please install qt6.7.3 or qt5.15.2 ..." + echo "please install qt6.8.0 or qt5.15.2 ..." fi function cmake_scan() {