You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,9 @@ Snakemake version to use. If not specified, uses latest version. Pin a specific
36
36
37
37
Install Apptainer (true/false)
38
38
39
-
### `environment-file`
39
+
### `condarc-file`
40
40
41
-
Path to a custom Conda environment file containing snakemake (e.g., 'etc/custom-environment.yml'). If not specified, a default environment with snakemake is generated.
41
+
Path to a custom condarc file (e.g., 'etc/condarc.yaml')
42
42
43
43
## Example usage
44
44
@@ -58,7 +58,7 @@ Path to a custom Conda environment file containing snakemake (e.g., 'etc/custom-
Copy file name to clipboardExpand all lines: action.yml
+9-11Lines changed: 9 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,8 @@ inputs:
38
38
description: Install Apptainer (true/false)
39
39
required: false
40
40
default: false
41
-
environment-file:
42
-
description: Path to a custom Conda environment file containing snakemake (e.g., 'etc/custom-environment.yml'). If not specified, a default environment with snakemake is generated.
43
-
required: false
41
+
condarc-file:
42
+
description: Path to a custom condarc file for workflow action environment (e.g. '.condarc').
44
43
default: ''
45
44
46
45
runs:
@@ -65,7 +64,6 @@ runs:
65
64
sudo apt-get install -y apptainer
66
65
67
66
- name: Prepare .snakemake.environment.yaml
68
-
if: ${{ inputs.environment-file == '' }}
69
67
shell: bash -el {0}
70
68
run: |
71
69
cat <<EOF > .snakemake.environment.yaml
@@ -76,15 +74,15 @@ runs:
76
74
dependencies:
77
75
- snakemake ==${{ inputs.snakemake-version }}
78
76
EOF
79
-
80
-
- name: Validate custom environment file
81
-
if: ${{ inputs.environment-file != '' }}
77
+
78
+
- name: Validate custom condarc file
79
+
if: ${{ inputs.condarc-file != '' }}
82
80
shell: bash -el {0}
83
81
run: |
84
-
if [[ -f "${{ inputs.environment-file }}" ]]; then
0 commit comments