From 21020573aefbe57b4d4bfbd2c03a2409da14f583 Mon Sep 17 00:00:00 2001 From: Moritz-Alexander-Kern <92092328+Moritz-Alexander-Kern@users.noreply.github.com> Date: Tue, 11 Jun 2024 09:38:05 +0200 Subject: [PATCH] runner to create caches set to ubuntu --- .github/workflows/cache_elephant_data.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cache_elephant_data.yml b/.github/workflows/cache_elephant_data.yml index 87e682020..a179099eb 100644 --- a/.github/workflows/cache_elephant_data.yml +++ b/.github/workflows/cache_elephant_data.yml @@ -19,7 +19,7 @@ on: jobs: create-data-cache-if-missing: name: Caching data env - runs-on: macos-latest + runs-on: ubuntu-latest strategy: # do not cancel all in-progress jobs if any matrix job fails fail-fast: false @@ -46,11 +46,14 @@ jobs: git config --global user.email "elephant_ci@fake_mail.com" git config --global user.name "elephant CI" git config --global filter.annex.process "git-annex filter-process" # recommended for efficiency - - - name: Install Datalad + + - name: Install Datalad Linux if: steps.cache-datasets.outputs.cache-hit != 'true' run: | - brew install datalad + python -m pip install -U pip # Official recommended way + pip install datalad-installer + datalad-installer --sudo ok git-annex --method datalad/packages + pip install datalad - name: Download dataset id: download-dataset