Add GHA commands to group logs (#224)

This commit is contained in:
Michael Kaye
2022-02-17 09:03:29 +00:00
committed by GitHub
parent 3045dbfaba
commit 1e2ef7249a
3 changed files with 105 additions and 90 deletions
+2
View File
@@ -20,6 +20,7 @@ import { getChannelId } from './channel-id-mapper';
async function run() {
try {
console.log(`::group::Configure emulator`);
// only support running on macOS or Linux
if (process.platform !== 'darwin') {
if (process.platform === 'linux') {
@@ -148,6 +149,7 @@ async function run() {
scripts.forEach(async (script: string) => {
console.log(`${script}`);
});
console.log(`::endgroup::`);
// install SDK
await installAndroidSdk(apiLevel, target, arch, channelId, emulatorBuild, ndkVersion, cmakeVersion);