Skip to content

Commit 538fdc2

Browse files
authored
Update cp_main.yml
madjos -> msojocs
1 parent 89182e2 commit 538fdc2

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/cp_main.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169
path: yukihana/
170170
if-no-files-found: error
171171

172-
download-madjos-server:
172+
download-msojocs-server:
173173
runs-on: windows-latest
174174
needs:
175175
- compare-versions
@@ -188,17 +188,17 @@ jobs:
188188
189189
- name: Move the downloaded directory to the target folder
190190
run: |
191-
mkdir -p madjos
192-
Move-Item -Path server -Destination madjos/
191+
mkdir -p msojocs
192+
Move-Item -Path server -Destination msojocs/
193193
194-
- name: List files in the madjos/server directory
195-
run: Get-ChildItem -Path madjos\server
194+
- name: List files in the msojocs/server directory
195+
run: Get-ChildItem -Path msojocs\server
196196

197-
- name: Upload madjos folder as an artifact
197+
- name: Upload msojocs folder as an artifact
198198
uses: actions/upload-artifact@v4
199199
with:
200-
name: madjos-patch
201-
path: madjos/
200+
name: msojocs-patch
201+
path: msojocs/
202202
if-no-files-found: error
203203

204204
download-fiddler-everywhere:
@@ -248,7 +248,7 @@ jobs:
248248
needs:
249249
- compare-versions
250250
- download-yukihana-patch
251-
- download-madjos-server
251+
- download-msojocs-server
252252
- download-fiddler-everywhere
253253
- scrape_fe_version
254254

@@ -265,11 +265,11 @@ jobs:
265265
name: yukihana-patch
266266
path: yukihana-patch
267267

268-
- name: Download MadJos-Server
268+
- name: Download msojocs-Server
269269
uses: actions/download-artifact@v4
270270
with:
271-
name: madjos-patch
272-
path: madjos-patch
271+
name: msojocs-patch
272+
path: msojocs-patch
273273

274274
- name: Download FE
275275
uses: actions/download-artifact@v4
@@ -280,7 +280,7 @@ jobs:
280280
- name: List the contents of the downloaded artifacts
281281
run: |
282282
Get-ChildItem -Recurse yukihana-patch
283-
Get-ChildItem -Recurse madjos-patch
283+
Get-ChildItem -Recurse msojocs-patch
284284
Get-ChildItem -Recurse fe_app64
285285
shell: pwsh
286286

@@ -324,7 +324,7 @@ jobs:
324324
325325
- name: Copy Server Folder
326326
run: |
327-
$source_server_folder = "madjos-patch/server/file"
327+
$source_server_folder = "msojocs-patch/server/file"
328328
$destination_server_folder = "FE/resources/app/out"
329329
330330
if (Test-Path $source_server_folder) {
@@ -341,7 +341,7 @@ jobs:
341341
342342
$new_main = "FE/resources/app/out/main.original.js"
343343
344-
$source_index = "madjos-patch/server/index.js"
344+
$source_index = "msojocs-patch/server/index.js"
345345
$index_content = Get-Content -Path $source_index -Raw
346346
347347
if ((Test-Path $source_main) -and (Test-Path $source_index)) {
@@ -392,12 +392,12 @@ jobs:
392392
Write-Host "No file found starting with 'main' in the specified directory. (Main,XXX.js)"
393393
}
394394

395-
- name: Clean madjos-patch
395+
- name: Clean msojocs-patch
396396
run: |
397-
if (Test-Path madjos-patch) {
398-
Remove-Item -Path "madjos-patch" -Recurse
397+
if (Test-Path msojocs-patch) {
398+
Remove-Item -Path "msojocs-patch" -Recurse
399399
} else {
400-
Write-Host "madjos-patch Folder not found"
400+
Write-Host "msojocs-patch Folder not found"
401401
}
402402
403403
- name: Add patch.json

0 commit comments

Comments
 (0)