🐛 Increase the timeout period
This commit is contained in:
6
.github/workflows/pake-cli.yaml
vendored
6
.github/workflows/pake-cli.yaml
vendored
@@ -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:
|
||||||
|
|||||||
4
script/build_with_pake_cli.js
vendored
4
script/build_with_pake_cli.js
vendored
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user