2021-03-29 10:06:51 -07:00
|
|
|
on: push
|
2021-12-22 07:37:16 +01:00
|
|
|
env:
|
|
|
|
MY_SHELL: pwsh
|
2021-03-29 10:06:51 -07:00
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-12-22 07:37:16 +01:00
|
|
|
- shell: ${{ env.MY_SHELL }}
|
2021-03-29 10:06:51 -07:00
|
|
|
run: |
|
2021-06-10 23:12:05 +00:00
|
|
|
$PSVersionTable
|
2021-11-03 19:47:47 +01:00
|
|
|
check-container:
|
|
|
|
runs-on: ubuntu-latest
|
2022-07-08 02:21:51 +02:00
|
|
|
container: catthehacker/ubuntu:pwsh-latest
|
2021-11-03 19:47:47 +01:00
|
|
|
steps:
|
2021-12-22 07:37:16 +01:00
|
|
|
- shell: ${{ env.MY_SHELL }}
|
2021-11-03 19:47:47 +01:00
|
|
|
run: |
|
|
|
|
$PSVersionTable
|
2021-12-22 07:37:16 +01:00
|
|
|
check-job-default:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: ${{ env.MY_SHELL }}
|
|
|
|
steps:
|
|
|
|
- run: |
|
|
|
|
$PSVersionTable
|