File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ inputs:
2929 required : false
3030 default : ' '
3131
32+ install-slim :
33+ description : ' Whether to install SLiM'
34+ required : false
35+ default : false
36+
3237runs :
3338 using : composite
3439 steps :
3742 shell : bash
3843 run : sudo apt-get update && sudo apt-get install -y ${{ inputs.additional-apt-packages }}
3944
45+ - name : Set up micromamba
46+ if : {{ inputs.install-slim }}
47+ uses : mamba-org/setup-micromamba@v2.0.4
48+
49+ - name : Install SLiM
50+ if : {{ inputs.install-slim }}
51+ run : |
52+ micromamba install -n base -y slim
53+ echo "$MAMBA_ROOT_PREFIX/bin" >> $GITHUB_PATH
54+
55+ - name : Verify SLiM
56+ if : {{ inputs.install-slim }}
57+ run : slim -v
58+
4059 - name : Install uv
4160 uses : astral-sh/setup-uv@v6
4261 with :
Original file line number Diff line number Diff line change 2929 type : string
3030 default : ' '
3131
32+ install-slim :
33+ description : ' Whether to install SLiM'
34+ required : false
35+ default : false
36+
3237jobs :
3338 Docs :
3439 name : Build docs
4853 pyproject-directory : ${{ inputs.pyproject-directory }}
4954 additional-apt-packages : ${{ inputs.additional-apt-packages }}
5055 pre-build-command : ${{ inputs.pre-build-command }}
56+ install-slim : ${{ inputs.install-slim }}
5157
5258 - name : Trigger tskit-site rebuild
5359 if : github.ref == 'refs/heads/main'
You can’t perform that action at this time.
0 commit comments