diff --git a/.github/workflows/hyperos_port_new_test.yaml b/.github/workflows/hyperos_port_new_test.yaml index df73c45..703ce22 100644 --- a/.github/workflows/hyperos_port_new_test.yaml +++ b/.github/workflows/hyperos_port_new_test.yaml @@ -28,11 +28,12 @@ jobs: - name: 1. 最大化并挂载构建空间 | MAXIMIZE BUILD SPACE uses: easimon/maximize-build-space@master with: - root-reserve-mb: 1024 - swap-size-mb: 6144 - remove-dotnet: "true" - temp-reserve-mb: 1024 - remove-haskell: "true" + swap-size-mb: 8192 + root-reserve-mb: 4096 + temp-reserve-mb: 4096 + remove-dotnet: 'true' + remove-android: 'true' + remove-haskell: 'true' - name: 2. 检出仓库文件 | CHECKOUT REPOSITORY uses: actions/checkout@main with: @@ -65,6 +66,7 @@ jobs: if [[ ${{ github.event.inputs.ENCRYPTION }} == "TRUE" ]]; then sed -i "s/remove_data_encryption=false/remove_data_encryption=true/" bin/port_config fi + sudo timedatectl set-timezone Asia/Shanghai sudo bash "$GITHUB_WORKSPACE"/setup.sh java -version python3 --version