2021-06-10 18:12:05 -05:00
|
|
|
on: push
|
2021-12-22 00:37:16 -06:00
|
|
|
env:
|
|
|
|
MY_SHELL: bash
|
2021-06-10 18:12:05 -05:00
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-12-22 00:37:16 -06:00
|
|
|
- shell: ${{ env.MY_SHELL }}
|
2021-06-10 18:12:05 -05:00
|
|
|
run: |
|
2021-11-03 13:47:47 -05:00
|
|
|
if [[ -n "$BASH" ]]; then
|
|
|
|
echo "I'm $BASH!"
|
|
|
|
else
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
check-container:
|
|
|
|
runs-on: ubuntu-latest
|
2021-12-22 13:34:18 -06:00
|
|
|
container: node:16-buster-slim
|
2021-11-03 13:47:47 -05:00
|
|
|
steps:
|
2021-12-22 00:37:16 -06:00
|
|
|
- shell: ${{ env.MY_SHELL }}
|
2021-11-03 13:47:47 -05:00
|
|
|
run: |
|
|
|
|
if [[ -n "$BASH" ]]; then
|
|
|
|
echo "I'm $BASH!"
|
|
|
|
else
|
|
|
|
exit 1
|
2021-06-10 18:12:05 -05:00
|
|
|
fi
|
2021-12-22 00:37:16 -06:00
|
|
|
check-job-default:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: ${{ env.MY_SHELL }}
|
|
|
|
steps:
|
|
|
|
- run: |
|
|
|
|
if [[ -n "$BASH" ]]; then
|
|
|
|
echo "I'm $BASH!"
|
|
|
|
else
|
|
|
|
exit 1
|
|
|
|
fi
|