Skip to content

Commit e20846b

Browse files
committed
feat: enable macOS
1 parent bdf7e96 commit e20846b

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

scripts/cleanup-github-actions.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ import { Utils } from '@codifycli/plugin-core';
44

55
const pluginPath = path.resolve('./src/index.ts');
66

7-
// Uninstall resources that have Codify resource definitions
8-
await PluginTester.uninstall(pluginPath, [
9-
{ type: 'docker' },
10-
{ type: 'aws-cli'}
11-
]);
127

138
if (Utils.isLinux()) {
9+
// Uninstall resources that have Codify resource definitions
10+
await PluginTester.uninstall(pluginPath, [
11+
{ type: 'docker' },
12+
{ type: 'aws-cli'}
13+
]);
14+
1415
await testSpawn('apt-get autoremove -y ruby rpm python awscli needrestart', { requiresRoot: true }); // remove needrestart to keep logs clean.
1516

1617
await testSpawn('rustup self uninstall -y');
@@ -24,6 +25,7 @@ if (Utils.isLinux()) {
2425
// MacOS
2526
} else {
2627
await PluginTester.uninstall(pluginPath, [
28+
{ type: 'aws-cli' },
2729
{ type: 'brew', formulae: ['chrome', 'python', 'ruby', 'awscli'] },
2830
]);
2931
}

0 commit comments

Comments
 (0)