Skip to content

Commit cebcb23

Browse files
Update action.yml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent dedc6dc commit cebcb23

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,12 @@ runs:
5353
if: ${{ inputs.install-apptainer == 'true' }}
5454
shell: bash -el {0}
5555
run: |
56+
if ! command -v apt-get &> /dev/null; then
57+
echo "Error: This action currently supports Apptainer installation only on Ubuntu runners"
58+
exit 1
59+
fi
5660
sudo apt-get update
5761
sudo apt-get install -y apptainer
58-
5962
- name: Prepare .snakemake.environment.yaml
6063
shell: bash -el {0}
6164
run: |

0 commit comments

Comments
 (0)