summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/shells/pwsh/push.yml
blob: 25ce66b49bcb0be6bca6e87b7629623feecccacb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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