Skip to content

Commit 2fe4699

Browse files
committed
Add support for Swift 5.7.2
1 parent 194625b commit 2fe4699

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

__tests__/swift-versions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe("swift version resolver", () => {
2828

2929
it("identifies X versions", async () => {
3030
const version = await versions.verify("5", macOS);
31-
expect(version).toBe("5.7.1");
31+
expect(version).toBe("5.7.2");
3232
});
3333

3434
it("identifies versions based on system", async () => {

src/swift-versions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as core from "@actions/core";
33
import { System, OS } from "./os";
44

55
const VERSIONS_LIST: [string, OS[]][] = [
6+
["5.7.2", [OS.MacOS, OS.Ubuntu]],
67
["5.7.1", [OS.MacOS, OS.Ubuntu]],
78
["5.7", [OS.MacOS, OS.Ubuntu]],
89
["5.6.3", OS.all()],

0 commit comments

Comments
 (0)