@@ -368,7 +368,7 @@ const core_2 = __nccwpck_require__(582);
368368 */
369369async function setupLinux(options) {
370370 await prerequisites();
371- let path = (0, tool_cache_1.find)("swiftly", "1.0 .0");
371+ let path = (0, tool_cache_1.find)("swiftly", "1.1 .0");
372372 if (!path) {
373373 path = await download(options);
374374 }
@@ -381,7 +381,7 @@ async function setupLinux(options) {
381381async function download({ skipVerifySignature = false } = {}) {
382382 (0, core_1.info)("Downloading Swiftly");
383383 const m = (0, os_1.machine)();
384- const url = `https://download.swift.org/swiftly/linux/swiftly-1.0 .0-${m}.tar.gz`;
384+ const url = `https://download.swift.org/swiftly/linux/swiftly-1.1 .0-${m}.tar.gz`;
385385 (0, core_1.debug)(`Downloading Swiftly from ${url}`);
386386 const [pkg, signature] = await Promise.all([
387387 (0, tool_cache_1.downloadTool)(url),
@@ -395,7 +395,7 @@ async function download({ skipVerifySignature = false } = {}) {
395395 }
396396 const extracted = await (0, tool_cache_1.extractTar)(pkg);
397397 (0, core_1.debug)(`Extracted Swiftly to ${extracted}`);
398- const cached = await (0, tool_cache_1.cacheDir)(extracted, "swiftly", "1.0 .0");
398+ const cached = await (0, tool_cache_1.cacheDir)(extracted, "swiftly", "1.1 .0");
399399 (0, core_1.debug)(`Cached Swiftly to ${cached}`);
400400 return cached;
401401}
@@ -423,7 +423,7 @@ const os_1 = __nccwpck_require__(857);
423423 * Setup Swiftly on macOS
424424 */
425425async function setupMacOS() {
426- let path = (0, tool_cache_1.find)("swiftly", "1.0 .0");
426+ let path = (0, tool_cache_1.find)("swiftly", "1.1 .0");
427427 if (!path) {
428428 path = await download();
429429 }
@@ -39672,6 +39672,7 @@ const windows_1 = __nccwpck_require__(4698);
3967239672async function run() {
3967339673 try {
3967439674 const version = (0, core_2.getInput)("swift-version", { required: true });
39675+ const skipVerifySignature = (0, core_2.getBooleanInput)("skip-verify-signature");
3967539676 const os = await (0, core_1.getOS)();
3967639677 // First check if the requested version is already installed
3967739678 let current = await (0, swift_1.currentVersion)().catch(() => null);
@@ -39687,7 +39688,7 @@ async function run() {
3968739688 await (0, swiftly_1.installSwift)(version);
3968839689 break;
3968939690 case "linux":
39690- await (0, swiftly_1.setupLinux)({ skipVerifySignature: true });
39691+ await (0, swiftly_1.setupLinux)({ skipVerifySignature });
3969139692 await (0, swiftly_1.installSwift)(version);
3969239693 break;
3969339694 case "win32":
0 commit comments