2323
2424 steps :
2525 - name : Checkout action file
26- uses : Bhacaz /checkout-files@v2
26+ uses : actions /checkout@v4
2727 with :
28- files : .github/actions/checkout/action.yml
28+ sparse-checkout : .github/actions/checkout/action.yml
29+ sparse-checkout-cone-mode : false
2930
3031 - name : Checkout
3132 uses : ./.github/actions/checkout
5657
5758 steps :
5859 - name : Checkout action file
59- uses : Bhacaz /checkout-files@v2
60+ uses : actions /checkout@v4
6061 with :
61- files : .github/actions/checkout/action.yml
62+ sparse-checkout : .github/actions/checkout/action.yml
63+ sparse-checkout-cone-mode : false
6264
6365 - name : Checkout
6466 uses : ./.github/actions/checkout
6971 version : ${{ needs.determineVersionNumber.outputs.version }}
7072
7173 - name : Upload NuGetForUnity dlls
72- uses : actions/upload-artifact@v3
74+ uses : actions/upload-artifact@v4
7375 with :
7476 name : NuGetForUnity-dlls
7577 path : |
@@ -81,15 +83,15 @@ jobs:
8183 - name : Check if files in NuGetForUnity.PluginAPI changed
8284 if : github.event_name == 'pull_request_target'
8385 id : changedPluginApiCode
84- uses : tj-actions/changed-files@v41
86+ uses : tj-actions/changed-files@v42
8587 with :
8688 files : |
8789 src/NuGetForUnity.PluginAPI/**.cs
8890
8991 - name : Check if NuGetForUnity.PluginAPI.dll is updated
9092 if : github.event_name == 'pull_request_target'
9193 id : changedPluginApiDll
92- uses : tj-actions/changed-files@v41
94+ uses : tj-actions/changed-files@v42
9395 with :
9496 files : |
9597 src/NuGetForUnity/Editor/PluginAPI/NuGetForUnity.PluginAPI.dll
@@ -112,15 +114,16 @@ jobs:
112114
113115 steps :
114116 - name : Checkout action file
115- uses : Bhacaz /checkout-files@v2
117+ uses : actions /checkout@v4
116118 with :
117- files : .github/actions/checkout/action.yml
119+ sparse-checkout : .github/actions/checkout/action.yml
120+ sparse-checkout-cone-mode : false
118121
119122 - name : Checkout
120123 uses : ./.github/actions/checkout
121124
122125 - name : Download NuGetForUnity dlls
123- uses : actions/download-artifact@v3
126+ uses : actions/download-artifact@v4
124127 with :
125128 name : NuGetForUnity-dlls
126129 path : ./src/NuGetForUnity.Packager/Assets/NuGet/Editor
@@ -145,7 +148,7 @@ jobs:
145148 version : ${{ needs.determineVersionNumber.outputs.version }}
146149
147150 - name : Upload UnityPackage
148- uses : actions/upload-artifact@v3
151+ uses : actions/upload-artifact@v4
149152 with :
150153 name : NuGetForUnity.${{ needs.determineVersionNumber.outputs.version }}.unitypackage
151154 path : ./src/NuGetForUnity.Packager/NugetForUnity.unitypackage
@@ -158,15 +161,16 @@ jobs:
158161
159162 steps :
160163 - name : Checkout action file
161- uses : Bhacaz /checkout-files@v2
164+ uses : actions /checkout@v4
162165 with :
163- files : .github/actions/checkout/action.yml
166+ sparse-checkout : .github/actions/checkout/action.yml
167+ sparse-checkout-cone-mode : false
164168
165169 - name : Checkout
166170 uses : ./.github/actions/checkout
167171
168172 - name : Setup dotnet
169- uses : actions/setup-dotnet@v3
173+ uses : actions/setup-dotnet@v4
170174 with :
171175 dotnet-version : " 8.0.x"
172176
@@ -195,7 +199,7 @@ jobs:
195199 --source https://api.nuget.org/v3/index.json
196200
197201 - name : Upload NuGet packages
198- uses : actions/upload-artifact@v3
202+ uses : actions/upload-artifact@v4
199203 with :
200204 name : NuGetForUnity-NuGetPackages
201205 path : |
@@ -208,9 +212,10 @@ jobs:
208212 runs-on : ubuntu-latest
209213 steps :
210214 - name : Checkout action file
211- uses : Bhacaz /checkout-files@v2
215+ uses : actions /checkout@v4
212216 with :
213- files : .github/actions/checkout/action.yml
217+ sparse-checkout : .github/actions/checkout/action.yml
218+ sparse-checkout-cone-mode : false
214219
215220 - name : Checkout
216221 uses : ./.github/actions/checkout
@@ -239,15 +244,16 @@ jobs:
239244
240245 steps :
241246 - name : Checkout action file
242- uses : Bhacaz /checkout-files@v2
247+ uses : actions /checkout@v4
243248 with :
244- files : .github/actions/checkout/action.yml
249+ sparse-checkout : .github/actions/checkout/action.yml
250+ sparse-checkout-cone-mode : false
245251
246252 - name : Checkout
247253 uses : ./.github/actions/checkout
248254
249255 - name : Download NuGetForUnity.Cli NuGet package
250- uses : actions/download-artifact@v3
256+ uses : actions/download-artifact@v4
251257 with :
252258 name : NuGetForUnity-NuGetPackages
253259 path : .
0 commit comments