Skip to content

Commit

Permalink
Fail-fast in unsupported environments
Browse files Browse the repository at this point in the history
#230 (comment)

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
  • Loading branch information
br3ndonland and webknjaz committed Nov 4, 2024
1 parent 7ea8313 commit bacb626
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ branding:
runs:
using: composite
steps:
- name: Fail-fast in unsupported environments
if: runner.os != 'Linux'
run: |
>&2 echo This action is only able to run under GNU/Linux environments
exit 1
shell: bash -eEuo pipefail {0}
- name: Reset path if needed
run: |
# Reset path if needed
Expand Down

0 comments on commit bacb626

Please sign in to comment.