Skip to content

Commit

Permalink
Add Swift 5.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fwal committed Aug 18, 2023
1 parent 52ab8de commit a26c92c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/swift-versions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe("swift version resolver", () => {

it("identifies X versions", async () => {
const version = await versions.verify("5", macOS);
expect(version).toBe("5.8");
expect(version).toBe("5.8.1");
});

it("identifies versions based on system", async () => {
Expand Down
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@ const semver = __importStar(__nccwpck_require__(1383));
const core = __importStar(__nccwpck_require__(2186));
const os_1 = __nccwpck_require__(1855);
const VERSIONS_LIST = [
["5.8.1", [os_1.OS.MacOS, os_1.OS.Ubuntu]],
["5.8", [os_1.OS.MacOS, os_1.OS.Ubuntu]],
["5.7.3", [os_1.OS.MacOS, os_1.OS.Ubuntu]],
["5.7.2", [os_1.OS.MacOS, os_1.OS.Ubuntu]],
Expand Down
1 change: 1 addition & 0 deletions src/swift-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as core from "@actions/core";
import { System, OS } from "./os";

const VERSIONS_LIST: [string, OS[]][] = [
["5.8.1", [OS.MacOS, OS.Ubuntu]],
["5.8", [OS.MacOS, OS.Ubuntu]],
["5.7.3", [OS.MacOS, OS.Ubuntu]],
["5.7.2", [OS.MacOS, OS.Ubuntu]],
Expand Down

0 comments on commit a26c92c

Please sign in to comment.