Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d9c6fc0

Browse files
committed
windows vs linux
1 parent 4b09ae9 commit d9c6fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
echo "$NAME"
9090
9191
mkdir -p target/.jpreprocess_artifact/jpreprocess
92-
cp target/${{ matrix.target }}/release/{jpreprocess,dict_tools}{,.exe} target/.jpreprocess_artifact/jpreprocess
92+
cp target/${{ matrix.target }}/release/{jpreprocess,dict_tools}${{ contains(matrix.target, 'windows') && '.exe' }} target/.jpreprocess_artifact/jpreprocess
9393
9494
tar czvf "$NAME" -C target/.jpreprocess_artifact jpreprocess
9595

0 commit comments

Comments
 (0)