Skip to content

.github/workflows/cache.yml #4

.github/workflows/cache.yml

.github/workflows/cache.yml #4

Workflow file for this run

# Cache .snakemake/conda each sunday / monday night
---
# name: Cache conda packages weekly
on: # yamllint disable-line rule:truthy
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
jobs:
weekly-cache:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up cache
uses: actions/[email protected]
with:
path: .snakemake/conda
key: snakemake-conda
id: cache
- name: Download environments
uses: snakemake/[email protected]
with:
directory: .
snakefile: workflow/Snakefile
args: >
--use-conda
--conda-create-envs-only
--conda-frontend mamba
--cores 1