Skip to content

Commit e6a20f5

Browse files
- update node24 (required for unity-cli) - bump deps - updated validation build-options
1 parent fc83b34 commit e6a20f5

File tree

7 files changed

+31
-25
lines changed

7 files changed

+31
-25
lines changed

.github/workflows/build-options.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"unity-version": [
88
"2019",
99
"2020",
10+
"2021",
1011
"2022",
1112
"6000.0",
1213
"6000.1",

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
contents: read
2424
steps:
2525
- name: Free Disk Space
26-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.unity-version == '6000.2' }}
26+
if: ${{ matrix.os == 'ubuntu-latest' }}
2727
uses: endersonmenezes/free-disk-space@713d134e243b926eba4a5cce0cf608bfd1efb89a # v2.1.1
2828
with:
2929
remove_android: true

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ outputs:
1919
project-path:
2020
description: The path to the created Unity project.
2121
runs:
22-
using: 'node20'
23-
main: 'dist/index.js'
22+
using: node24
23+
main: dist/index.js

dist/index.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41942,7 +41942,7 @@ const entToType = (s) => s.isFile() ? IFREG
4194241942
: s.isFIFO() ? IFIFO
4194341943
: UNKNOWN;
4194441944
// normalize unicode path names
41945-
const normalizeCache = new Map();
41945+
const normalizeCache = new lru_cache_1.LRUCache({ max: 2 ** 12 });
4194641946
const normalize = (s) => {
4194741947
const c = normalizeCache.get(s);
4194841948
if (c)
@@ -41951,7 +41951,7 @@ const normalize = (s) => {
4195141951
normalizeCache.set(s, n);
4195241952
return n;
4195341953
};
41954-
const normalizeNocaseCache = new Map();
41954+
const normalizeNocaseCache = new lru_cache_1.LRUCache({ max: 2 ** 12 });
4195541955
const normalizeNocase = (s) => {
4195641956
const c = normalizeNocaseCache.get(s);
4195741957
if (c)
@@ -42142,6 +42142,7 @@ class PathBase {
4214242142
get parentPath() {
4214342143
return (this.parent || this).fullpath();
4214442144
}
42145+
/* c8 ignore start */
4214542146
/**
4214642147
* Deprecated alias for Dirent['parentPath'] Somewhat counterintuitively,
4214742148
* this property refers to the *parent* path, not the path object itself.
@@ -42151,6 +42152,7 @@ class PathBase {
4215142152
get path() {
4215242153
return this.parentPath;
4215342154
}
42155+
/* c8 ignore stop */
4215442156
/**
4215542157
* Do not create new Path objects directly. They should always be accessed
4215642158
* via the PathScurry class or other methods on the Path class.
@@ -57850,7 +57852,7 @@ const entToType = (s) => s.isFile() ? IFREG
5785057852
: s.isFIFO() ? IFIFO
5785157853
: UNKNOWN;
5785257854
// normalize unicode path names
57853-
const normalizeCache = new Map();
57855+
const normalizeCache = new LRUCache({ max: 2 ** 12 });
5785457856
const normalize = (s) => {
5785557857
const c = normalizeCache.get(s);
5785657858
if (c)
@@ -57859,7 +57861,7 @@ const normalize = (s) => {
5785957861
normalizeCache.set(s, n);
5786057862
return n;
5786157863
};
57862-
const normalizeNocaseCache = new Map();
57864+
const normalizeNocaseCache = new LRUCache({ max: 2 ** 12 });
5786357865
const normalizeNocase = (s) => {
5786457866
const c = normalizeNocaseCache.get(s);
5786557867
if (c)
@@ -58048,6 +58050,7 @@ class PathBase {
5804858050
get parentPath() {
5804958051
return (this.parent || this).fullpath();
5805058052
}
58053+
/* c8 ignore start */
5805158054
/**
5805258055
* Deprecated alias for Dirent['parentPath'] Somewhat counterintuitively,
5805358056
* this property refers to the *parent* path, not the path object itself.
@@ -58057,6 +58060,7 @@ class PathBase {
5805758060
get path() {
5805858061
return this.parentPath;
5805958062
}
58063+
/* c8 ignore stop */
5806058064
/**
5806158065
* Do not create new Path objects directly. They should always be accessed
5806258066
* via the PathScurry class or other methods on the Path class.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 16 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-unity-project",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "A GitHub Action to create a new Unity Project using a predefined template package.",
55
"author": "RageAgainstThePixel",
66
"repository": {
@@ -23,7 +23,7 @@
2323
"@rage-against-the-pixel/unity-cli": "^1.5.3"
2424
},
2525
"devDependencies": {
26-
"@types/node": "^22.18.13",
26+
"@types/node": "^22.19.1",
2727
"@vercel/ncc": "^0.34.0",
2828
"shx": "^0.3.4",
2929
"typescript": "^5.9.3"

0 commit comments

Comments
 (0)