Skip to content

Commit 27e02e9

Browse files
committed
🐛 update for cli actions
1 parent a52a105 commit 27e02e9

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/pake-cli.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@ on:
3838
required: false
3939
type: boolean
4040
default: false
41-
if: inputs.platform == 'macos-latest'
4241
multi_arch:
4342
description: "MultiArch, MacOS only, Optional"
4443
required: false
4544
type: boolean
4645
default: false
47-
if: inputs.platform == 'macos-latest'
4846
targets:
4947
description: "Targets, Linux only, Optional"
5048
required: false
@@ -54,7 +52,6 @@ on:
5452
- "deb"
5553
- "appimage"
5654
- "rpm"
57-
if: inputs.platform == 'ubuntu-24.04'
5855

5956
jobs:
6057
build:

script/build_with_pake_cli.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@ const buildParameters = () => {
3434
process.env.WIDTH,
3535
];
3636

37-
if (process.env.HIDE_TITLE_BAR === "true") {
37+
if (process.env.HIDE_TITLE_BAR === "true" && process.platform === "darwin") {
3838
params.push("--hide-title-bar");
3939
}
4040

4141
if (process.env.FULLSCREEN === "true") {
4242
params.push("--fullscreen");
4343
}
4444

45-
if (process.env.MULTI_ARCH === "true") {
45+
if (process.env.MULTI_ARCH === "true" && process.platform === "darwin") {
4646
// We'll handle rustup separately since it's a different command
4747
params.push("--multi-arch");
4848
}
4949

50-
if (process.env.TARGETS) {
50+
if (process.env.TARGETS && process.platform === "linux") {
5151
params.push("--targets", process.env.TARGETS);
5252
}
5353

0 commit comments

Comments
 (0)