act/pkg/runner/testdata/shells/pwsh/push.yml
Ryan e9ae7894e3
fix: set sh as default shell for containers (#853)
* fix: set default shell for containers to sh

This matches GitHub Actions behaviour where,
runners use bash since it's guaranteed to exist there
while containers use sh for compatibility

* tests: fixup for default shell
2021-11-03 11:47:47 -07:00

15 lines
292 B
YAML

on: push
jobs:
check:
runs-on: ubuntu-latest
steps:
- shell: pwsh
run: |
$PSVersionTable
check-container:
runs-on: ubuntu-latest
container: ghcr.io/justingrote/act-pwsh:latest
steps:
- shell: pwsh
run: |
$PSVersionTable