Skip to content

Commit 4026b1d

Browse files
fix macos build
1 parent 14af092 commit 4026b1d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/pipeline-build-macos.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,14 @@ jobs:
8181
if: inputs.target != vars.ALL
8282
run: |
8383
unset CSC_LINK
84-
yarn package:stage --mac ${{ inputs.target }}
84+
target=""
85+
86+
if [ ${{ startsWith(inputs.target, 'macos:') }} == 'true' ]; then
87+
inputsTarget=${{inputs.target}}
88+
target=--${inputsTarget#macos:}
89+
fi
90+
91+
yarn package:stage --mac $target
8592
rm -rf release/mac
8693
8794
- name: Repack dmg to tar

0 commit comments

Comments
 (0)