From e809a7f5f261349e9efec761495bdf8850b302a1 Mon Sep 17 00:00:00 2001
From: Gorka Fraga Gonzalez <gorka.fragagonzalez@uzh.ch>
Date: Mon, 9 Sep 2024 16:21:17 +0200
Subject: [PATCH] trying to install Quarto's latest versoin

---
 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fdaa0c2..89e94e7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,14 @@
 image: rocker/verse:4.4.1
 
+variables:
+  QUARTO_VERSION: "1.5.57"  # Specify the desired Quarto version
+
+before_script:
+  # Install Quarto
+  - wget https://github.com/quarto-dev/quarto-cli/releases/download/v$QUARTO_VERSION/quarto-$QUARTO_VERSION-linux-amd64.deb
+  - sudo dpkg -i quarto-$QUARTO_VERSION-linux-amd64.deb
+  - quarto check install  # Ensure Quarto is installed properly
+  
 pages:
   stage: deploy
   before_script:    
-- 
GitLab