mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-01-29 12:19:06 +08:00
- Only randomize uuid for personal licenses - Add warning annotation for license activation retries - add `engineExitCode` output - repo/code cleanup
13 lines
317 B
TypeScript
13 lines
317 B
TypeScript
import { exec } from '@actions/exec';
|
|
|
|
class MacBuilder {
|
|
public static async run(actionFolder: string, silent: boolean = false): Promise<number> {
|
|
return await exec('bash', [`${actionFolder}/platforms/mac/entrypoint.sh`], {
|
|
silent,
|
|
ignoreReturnCode: true,
|
|
});
|
|
}
|
|
}
|
|
|
|
export default MacBuilder;
|