We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4880fb commit e036274Copy full SHA for e036274
src/swift/windows.ts
@@ -1,14 +1,15 @@
1
import { addPath, debug } from "@actions/core";
2
-import { downloadTool, find } from "@actions/tool-cache";
+import { downloadTool } from "@actions/tool-cache";
3
import { cmd, tempDir } from "../core";
4
import { machine } from "os";
5
-import { join } from "path";
+import { join, resolve } from "path";
6
7
/**
8
* Setup Swift on Windows as theres no support for Swiftly yet.
9
*/
10
export async function setupWindows(version: string) {
11
await download(version);
12
+ addPath(resolve("%LocalAppData%", "Programs", "Swift"));
13
}
14
15
async function download(version: string) {
0 commit comments