🐛 Increase the timeout period

This commit is contained in:
Tw93
2025-08-20 15:30:45 +08:00
parent 27e02e91ee
commit fe85dfff98
2 changed files with 7 additions and 3 deletions

View File

@@ -89,6 +89,11 @@ jobs:
with: with:
toolchain: stable toolchain: stable
target: x86_64-apple-darwin target: x86_64-apple-darwin
- name: Add additional Rust target for multi-arch
if: inputs.platform == 'macos-latest' && inputs.multi_arch == true
run: |
rustup target add aarch64-apple-darwin
- name: Install dependencies (ubuntu only) - name: Install dependencies (ubuntu only)
if: inputs.platform == 'ubuntu-24.04' if: inputs.platform == 'ubuntu-24.04'
@@ -121,6 +126,7 @@ jobs:
npm install axios npm install axios
- name: Build with pake-cli - name: Build with pake-cli
timeout-minutes: 15
run: | run: |
node ./script/build_with_pake_cli.js node ./script/build_with_pake_cli.js
env: env:

View File

@@ -96,9 +96,7 @@ const main = async () => {
let params = buildParameters(); let params = buildParameters();
if (process.env.MULTI_ARCH === "true") { // Multi-arch target is now handled in GitHub Actions workflow
await execa("rustup", ["target", "add", "aarch64-apple-darwin"]);
}
if (process.env.ICON && process.env.ICON !== "") { if (process.env.ICON && process.env.ICON !== "") {
const iconFile = getIconFileName(); const iconFile = getIconFileName();