summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/shells/pwsh
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/runner/testdata/shells/pwsh')
-rw-r--r--pkg/runner/testdata/shells/pwsh/push.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/runner/testdata/shells/pwsh/push.yml b/pkg/runner/testdata/shells/pwsh/push.yml
new file mode 100644
index 0000000..25ce66b
--- /dev/null
+++ b/pkg/runner/testdata/shells/pwsh/push.yml
@@ -0,0 +1,25 @@
+on: push
+env:
+ MY_SHELL: pwsh
+jobs:
+ check:
+ runs-on: ubuntu-latest
+ steps:
+ - shell: ${{ env.MY_SHELL }}
+ run: |
+ $PSVersionTable
+ check-container:
+ runs-on: ubuntu-latest
+ container: catthehacker/ubuntu:pwsh-latest
+ steps:
+ - shell: ${{ env.MY_SHELL }}
+ run: |
+ $PSVersionTable
+ check-job-default:
+ runs-on: ubuntu-latest
+ defaults:
+ run:
+ shell: ${{ env.MY_SHELL }}
+ steps:
+ - run: |
+ $PSVersionTable