Skip to content

Commit bacb626

Browse files
br3ndonlandwebknjaz
andcommitted
Fail-fast in unsupported environments
#230 (comment) Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent 7ea8313 commit bacb626

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

action.yml

+6
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ branding:
9393
runs:
9494
using: composite
9595
steps:
96+
- name: Fail-fast in unsupported environments
97+
if: runner.os != 'Linux'
98+
run: |
99+
>&2 echo This action is only able to run under GNU/Linux environments
100+
exit 1
101+
shell: bash -eEuo pipefail {0}
96102
- name: Reset path if needed
97103
run: |
98104
# Reset path if needed

0 commit comments

Comments
 (0)