[commit: ghc] master: gitlab-ci: Use robocopy instead of bash to copy cabal cache (f8c18ba)

git at git.haskell.org git at git.haskell.org
Tue Dec 25 03:38:03 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/f8c18bacbb8b4334d22fb9cb68e5abbf12e92912/ghc

>---------------------------------------------------------------

commit f8c18bacbb8b4334d22fb9cb68e5abbf12e92912
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Dec 23 13:12:46 2018 -0500

    gitlab-ci: Use robocopy instead of bash to copy cabal cache


>---------------------------------------------------------------

f8c18bacbb8b4334d22fb9cb68e5abbf12e92912
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c906b3e..d86de7a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -318,7 +318,7 @@ validate-x86_64-linux-deb9-unreg:
     - bash .gitlab/win32-init.sh
   after_script:
     - rd /s /q tmp
-    - bash -c 'cp -Rf $APPDATA/cabal cabal-cache'
+    - robocopy /np /nfl /ndl /e "%APPDATA%\cabal" cabal-cache
   cache:
     paths:
       - cabal-cache



More information about the ghc-commits mailing list