diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-03-29 21:26:56 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-03-29 21:26:56 +0100 |
commit | 3bbfb4d9330f8648721256418072bb3d625ff539 (patch) | |
tree | 8e7794a8b651a3284acc6ad024b6b5333443bb68 | |
parent | f3dbad3df9f8c9c1aca873d74a34c6f9169133b0 (diff) |
Fix artifact work path to be again relative to checkout dir
Changelog: Fix copying of artifact to appropriate working directory
-rw-r--r-- | src/Job.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -343,10 +343,10 @@ runJob job uses checkoutPath jdir = do let target = adir </> T.unpack tname </> takeFileName path liftIO $ do createDirectoryIfMissing True $ takeDirectory target - copyFile (checkoutPath </> path) target + copyFile path target return $ ArtifactOutput { aoutName = name - , aoutWorkPath = path + , aoutWorkPath = makeRelative checkoutPath path , aoutStorePath = target } |