14 lines
358 B
TypeScript
14 lines
358 B
TypeScript
|
|
import { exec } from '@actions/exec';
|
||
|
|
import { BuildParameters } from '.';
|
||
|
|
|
||
|
|
class MacBuilder {
|
||
|
|
public static async run(actionFolder, workspace, buildParameters: BuildParameters, silent = false) {
|
||
|
|
await exec('bash', [`${actionFolder}/platforms/mac/entrypoint.sh`], {
|
||
|
|
silent,
|
||
|
|
ignoreReturnCode: true,
|
||
|
|
});
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
export default MacBuilder;
|