mirror of https://github.com/alibaba/ice.git
19 lines
284 B
TypeScript
19 lines
284 B
TypeScript
|
import { exec } from '@actions/exec';
|
||
|
|
||
|
const setupUser = async () => {
|
||
|
await exec('git', [
|
||
|
'config',
|
||
|
'user.name',
|
||
|
'"ClarkXia"',
|
||
|
]);
|
||
|
await exec('git', [
|
||
|
'config',
|
||
|
'user.email',
|
||
|
'"xiawenwu41@gmail.com"',
|
||
|
]);
|
||
|
};
|
||
|
|
||
|
(async () => {
|
||
|
await setupUser();
|
||
|
})();
|