Skip to content

Commit

Permalink
ci: update minimum macOS supported version to Ventura (13) (#624)
Browse files Browse the repository at this point in the history
macOS 12 has been end of life for 2 months, GitHub is removing support
for the images very soon (within a week or so).

https://endoflife.date/macos
  • Loading branch information
xTVaser authored Nov 25, 2024
1 parent 3f6a484 commit 58e3586
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-20.04, windows-latest, macos-12]
platform: [ubuntu-20.04, windows-latest, macos-13]
runs-on: ${{ matrix.platform }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-20.04, windows-latest, macos-12]
platform: [ubuntu-20.04, windows-latest, macos-13]
runs-on: ${{ matrix.platform }}
steps:
# NOTE - there is technically a race condition here if multiple releases go out
Expand Down
2 changes: 1 addition & 1 deletion schemas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Generated via typescript definitions:
npx ts-json-schema-generator --path './*.ts' --type 'ModMetadata' > mod-schema.v1.json
```

And then some value validations added on mostly for valid semver checking
And then some value validations added on mostly for valid semver checking
52 changes: 9 additions & 43 deletions schemas/mod-source/v1/mod-source-schema.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@
},
"supportedGames": {
"items": {
"enum": [
"jak1",
"jak2",
"jak3",
"jakx"
],
"enum": ["jak1", "jak2", "jak3", "jakx"],
"type": "string"
},
"type": "array"
Expand All @@ -75,10 +70,7 @@
"properties": {
"assets": {
"additionalProperties": {
"type": [
"string",
"null"
]
"type": ["string", "null"]
},
"type": "object"
},
Expand All @@ -87,12 +79,7 @@
},
"supportedGames": {
"items": {
"enum": [
"jak1",
"jak2",
"jak3",
"jakx"
],
"enum": ["jak1", "jak2", "jak3", "jakx"],
"type": "string"
},
"type": "array"
Expand All @@ -101,11 +88,7 @@
"type": "string"
}
},
"required": [
"version",
"publishedDate",
"assets"
],
"required": ["version", "publishedDate", "assets"],
"type": "object"
},
"type": "array"
Expand Down Expand Up @@ -176,12 +159,7 @@
},
"supportedGames": {
"items": {
"enum": [
"jak1",
"jak2",
"jak3",
"jakx"
],
"enum": ["jak1", "jak2", "jak3", "jakx"],
"type": "string"
},
"type": "array"
Expand All @@ -201,10 +179,7 @@
"properties": {
"assets": {
"additionalProperties": {
"type": [
"string",
"null"
]
"type": ["string", "null"]
},
"type": "object"
},
Expand All @@ -213,12 +188,7 @@
},
"supportedGames": {
"items": {
"enum": [
"jak1",
"jak2",
"jak3",
"jakx"
],
"enum": ["jak1", "jak2", "jak3", "jakx"],
"type": "string"
},
"type": "array"
Expand All @@ -227,11 +197,7 @@
"type": "string"
}
},
"required": [
"version",
"publishedDate",
"assets"
],
"required": ["version", "publishedDate", "assets"],
"type": "object"
},
"type": "array"
Expand Down Expand Up @@ -263,4 +229,4 @@
"type": "object"
}
}
}
}
4 changes: 2 additions & 2 deletions schemas/mod-source/v1/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ export interface ModSourceData {
schemaVersion: Semver;
sourceName: string;
lastUpdated: string;
mods: Record<string, ModInfo>
texturePacks: Record<string, ModInfo>
mods: Record<string, ModInfo>;
texturePacks: Record<string, ModInfo>;
}
9 changes: 2 additions & 7 deletions schemas/texture-packs/v1/texture-pack-schema.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@
},
"supportedGames": {
"items": {
"enum": [
"jak1",
"jak2",
"jak3",
"jakx"
],
"enum": ["jak1", "jak2", "jak3", "jakx"],
"type": "string"
},
"type": "array"
Expand Down Expand Up @@ -59,4 +54,4 @@
"type": "object"
}
}
}
}

0 comments on commit 58e3586

Please sign in to comment.