We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1be8a7 commit 17d67caCopy full SHA for 17d67ca
1 file changed
action.yml
@@ -73,8 +73,18 @@ runs:
73
- snakemake ==${{ inputs.snakemake-version }}
74
EOF
75
76
+ - name: Check if miniconda is already installed
77
+ id: check-miniconda
78
+ shell: bash -el {0}
79
+ run: |
80
+ if [ -d "/home/runner/miniconda3" ]; then
81
+ echo "installed=true" >> $GITHUB_OUTPUT
82
+ else
83
+ echo "installed=false" >> $GITHUB_OUTPUT
84
+ fi
85
+
86
- name: Setup conda
- if: ${{ !hashFiles('/home/runner/miniconda3/condabin/conda') }}
87
+ if: steps.check-miniconda.outputs.installed == 'false'
88
uses: conda-incubator/setup-miniconda@v3
89
with:
90
channels: conda-forge,bioconda
0 commit comments