From 875ddfe8c9c42861d9c8876b14b95e05b4ae0fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Tue, 18 Mar 2025 22:12:58 +0100 Subject: Accept glob pattern for artifact path --- src/Job/Types.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Job/Types.hs') diff --git a/src/Job/Types.hs b/src/Job/Types.hs index 4de9ef9..0f91b94 100644 --- a/src/Job/Types.hs +++ b/src/Job/Types.hs @@ -3,6 +3,7 @@ module Job.Types where import Data.Text (Text) import Data.Text qualified as T +import System.FilePath.Glob import System.Process import Repo @@ -16,7 +17,7 @@ data Job' d = Job , jobContainingCheckout :: [ JobCheckout ] , jobOtherCheckout :: [ ( JobRepo d, Maybe Text, JobCheckout ) ] , jobRecipe :: [ CreateProcess ] - , jobArtifacts :: [ ( ArtifactName, CreateProcess ) ] + , jobArtifacts :: [ ( ArtifactName, Pattern ) ] , jobUses :: [ ( JobName, ArtifactName ) ] } -- cgit v1.2.3