Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit daea19c

Browse files
authored
Correct robocopy command (#87)
Co-authored-by: Hien To <[email protected]>
1 parent f9a1f13 commit daea19c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,10 @@ jobs:
272272
273273
- name: Pack artifacts
274274
id: pack_artifacts
275+
shell: cmd
275276
run: |
276-
$dst='.\build\Release'
277-
robocopy build_deps\_install\bin\zlib.dll $dst
278-
robocopy build\bin\Release\llama.dll $dst
277+
robocopy build_deps\_install\bin .\build\Release zlib.dll
278+
robocopy build\bin\Release .\build\Release llama.dll
279279
7z a nitro.zip .\build\Release\*
280280
281281
- uses: actions/[email protected]
@@ -332,9 +332,8 @@ jobs:
332332
run: |
333333
set PATH=%PATH%;C:\Program Files\7-Zip\
334334
echo %PATH%
335-
$dst='.\build\Release'
336-
robocopy build_deps\_install\bin\zlib.dll $dst
337-
robocopy build\bin\Release\llama.dll $dst
335+
robocopy build_deps\_install\bin .\build\Release zlib.dll
336+
robocopy build\bin\Release .\build\Release llama.dll
338337
7z a nitro.zip .\build\Release\*
339338
340339
- uses: actions/[email protected]

0 commit comments

Comments
 (0)