Skip to content

.github/workflows/cache.yml #1

.github/workflows/cache.yml

.github/workflows/cache.yml #1

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/checkout@v3
- name: Set up cache
uses: actions/cache@v2
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