Skip to content

Commit

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

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
  • Loading branch information
br3ndonland and webknjaz committed Jul 10, 2024
1 parent 2795ef3 commit 1b866de
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 @@ -86,6 +86,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 1b866de

Please sign in to comment.