Skip to content

Commit 89182e2

Browse files
authored
Update cp_dispatch.yml
1 parent 8968887 commit 89182e2

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/cp_dispatch.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
path: yukihana/
163163
if-no-files-found: error
164164

165-
download-madjos-server:
165+
download-msojocs-server:
166166
runs-on: windows-latest
167167

168168
needs: validate-version
@@ -183,17 +183,17 @@ jobs:
183183
184184
- name: Move the downloaded directory to the target folder
185185
run: |
186-
mkdir -p madjos
187-
Move-Item -Path server -Destination madjos/
186+
mkdir -p msojocs
187+
Move-Item -Path server -Destination msojocs/
188188
189-
- name: List files in the madjos/server directory
190-
run: Get-ChildItem -Path madjos\server
189+
- name: List files in the msojocs/server directory
190+
run: Get-ChildItem -Path msojocs\server
191191

192-
- name: Upload madjos folder as an artifact
192+
- name: Upload msojocs folder as an artifact
193193
uses: actions/upload-artifact@v4
194194
with:
195-
name: madjos-patch
196-
path: madjos/
195+
name: msojocs-patch
196+
path: msojocs/
197197
if-no-files-found: error
198198

199199
download-fiddler-everywhere:
@@ -242,7 +242,7 @@ jobs:
242242

243243
needs:
244244
- download-yukihana-patch
245-
- download-madjos-server
245+
- download-msojocs-server
246246
- download-fiddler-everywhere
247247

248248
outputs:
@@ -255,11 +255,11 @@ jobs:
255255
name: yukihana-patch
256256
path: yukihana-patch
257257

258-
- name: Download MadJos-Server
258+
- name: Download msojocs-Server
259259
uses: actions/download-artifact@v4
260260
with:
261-
name: madjos-patch
262-
path: madjos-patch
261+
name: msojocs-patch
262+
path: msojocs-patch
263263

264264
- name: Download FE
265265
uses: actions/download-artifact@v4
@@ -270,7 +270,7 @@ jobs:
270270
- name: List the contents of the downloaded artifacts
271271
run: |
272272
Get-ChildItem -Recurse yukihana-patch
273-
Get-ChildItem -Recurse madjos-patch
273+
Get-ChildItem -Recurse msojocs-patch
274274
Get-ChildItem -Recurse fe_app64
275275
shell: pwsh
276276

@@ -314,7 +314,7 @@ jobs:
314314
315315
- name: Copy Server Folder
316316
run: |
317-
$source_server_folder = "madjos-patch/server/file"
317+
$source_server_folder = "msojocs-patch/server/file"
318318
$destination_server_folder = "FE/resources/app/out"
319319
320320
if (Test-Path $source_server_folder) {
@@ -331,7 +331,7 @@ jobs:
331331
332332
$new_main = "FE/resources/app/out/main.original.js"
333333
334-
$source_index = "madjos-patch/server/index.js"
334+
$source_index = "msojocs-patch/server/index.js"
335335
$index_content = Get-Content -Path $source_index -Raw
336336
337337
if ((Test-Path $source_main) -and (Test-Path $source_index)) {
@@ -382,12 +382,12 @@ jobs:
382382
Write-Host "No file found starting with 'main' in the specified directory. (Main,XXX.js)"
383383
}
384384

385-
- name: Clean madjos-patch
385+
- name: Clean msojocs-patch
386386
run: |
387-
if (Test-Path madjos-patch) {
388-
Remove-Item -Path "madjos-patch" -Recurse
387+
if (Test-Path msojocs-patch) {
388+
Remove-Item -Path "msojocs-patch" -Recurse
389389
} else {
390-
Write-Host "madjos-patch Folder not found"
390+
Write-Host "msojocs-patch Folder not found"
391391
}
392392
393393
- name: Add patch.json

0 commit comments

Comments
 (0)