From 8cad96686633bd8fc502e2faebd2d4b29b5ad7ce Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Tue, 16 Jan 2024 12:49:46 +0100 Subject: [PATCH] Don't add rtools in PATH as this could mess other actions like Julia julia-actions/setup-julia@v1.9.5 is using `tar` for Windows installation now but uses any `tar` from PATH. However, it requires a `tar.exe` that can handle Windows paths with drive letters. In our workflow, `tar` is found in `/usr/bin/tar` from rtools being added to PATH. This leads to error as it does not support the drive letters. Not adding rtools to PATH will solve, and should not impact the workflow as pak is used for R packages installation. More details about this issue at julia-actions/setup-julia#205 --- .github/workflows/test-smokes.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-smokes.yml b/.github/workflows/test-smokes.yml index 606aeae474c..a95e98ee995 100644 --- a/.github/workflows/test-smokes.yml +++ b/.github/workflows/test-smokes.yml @@ -63,6 +63,8 @@ jobs: with: r-version: "4.3.2" use-public-rspm: true + # required to avoid rtools bin in path + windows-path-include-rtools: false - name: Install node (for Playwright, MECA) uses: actions/setup-node@v3 @@ -153,7 +155,7 @@ jobs: uses: browser-actions/setup-chrome@latest - name: Setup Julia - uses: cderv/setup-julia@fix-tar + uses: julia-actions/setup-julia@v1 with: version: "1.10"