From 2536dceb4d36aed220ea0e23198041c8fab3038f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Desmaretz?= Date: Tue, 8 Oct 2024 23:34:43 +0200 Subject: [PATCH] Reapply "Add dependency installation" This reverts commit 5ef9cd1500bc70406a8d27d56d516b2554e990df. --- Jenkinsfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 64104e3..87cbd5a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,15 @@ pipeline { agent any stages { + stage('Install Dependencies') { + when { + branch 'master' + } + steps { + echo 'Installing Dependencies' + sh '''cargo install --git https://github.com/typst/typst --locked typst-cli''' + } + } stage('Build') { when { branch 'master'