Commit 408ec6e 1 parent c90e7b2 commit 408ec6e Copy full SHA for 408ec6e
File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { exec } from "@actions/exec" ;
2
+
3
+ /**
4
+ * Check for necessary tools on the system:
5
+ * - Git
6
+ * - .NET CLI
7
+ */
8
+ export async function dependencyChecks ( ) : Promise < void > {
9
+ }
Original file line number Diff line number Diff line change 1
1
import * as core from "@actions/core" ;
2
2
import { cloneRepository , buildProject } from "./themeConverter" ;
3
+ import { dependencyChecks } from "./checks" ;
3
4
4
5
const WORK_DIRECTORY = "work" ;
5
6
@@ -9,6 +10,9 @@ const WORK_DIRECTORY = "work";
9
10
*/
10
11
export async function run ( ) : Promise < void > {
11
12
try {
13
+ // Run dependency checks first
14
+ dependencyChecks ( ) ;
15
+
12
16
// Clone and build ThemeConverter program
13
17
cloneRepository ( WORK_DIRECTORY ) . then ( ( ) =>
14
18
buildProject ( WORK_DIRECTORY ) ,
You can’t perform that action at this time.
0 commit comments