Browse Source

Update appveyor.yml(文件复制优化)

玖亖伍 3 years ago
parent
commit
af8ec13c2e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      appveyor.yml

+ 1 - 1
appveyor.yml

@@ -51,7 +51,7 @@ test_script:
 - cmd: >-
 - cmd: >-
     cd c:\gopath\src\github.com\mindoc-org\mindoc
     cd c:\gopath\src\github.com\mindoc-org\mindoc
     
     
-    xcopy conf\app.conf.example conf\app.conf /F /Y
+    pwsh -NoProfile -ExecutionPolicy Bypass -Command "& {Copy-Item -Force -Path 'conf\app.conf.example' -Destination 'conf\app.conf'}"
     
     
     mindoc_windows_%GOARCH%.exe version
     mindoc_windows_%GOARCH%.exe version
 artifacts:
 artifacts: