Skip to content

Commit 364295d

Browse files
committed
Bump build
1 parent 7ef546c commit 364295d

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

dist/index.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ const core_2 = __nccwpck_require__(582);
368368
*/
369369
async 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) {
381381
async 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
*/
425425
async 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);
3967239672
async 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":

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-swift",
3-
"version": "2.4.0",
3+
"version": "3.0.0-beta.1",
44
"description": "Set up GitHub Actions workflow with Swift support",
55
"private": true,
66
"main": "lib/main.js",
@@ -26,7 +26,8 @@
2626
"actions",
2727
"swift",
2828
"ci",
29-
"swiftenv"
29+
"swiftenv",
30+
"swiftly"
3031
],
3132
"author": "Frederik Wallner",
3233
"license": "MIT",

0 commit comments

Comments
 (0)