I do not understand the description of the second example of the readme.txt :
Using powershell on Windows. pwsh also works and is the default.
on: [push]
jobs:
run-on-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install and cache PowerShell modules
id: psmodulecache
uses: potatoqualitee/psmodulecache@v4.5
with:
modules-to-cache: PSFramework, PoshRSJob, dbatools:1.0.0
- name: Show that the Action works
shell: pwsh
run: |
Get-Module -Name PSFramework, PoshRSJob, dbatools -ListAvailable | Select Path
The 'powershell' shell is not used and the shell parameter of the psmodulecache action is missing, by default the 'pswh' shell is used.
Is this a mistake or do I need to improve my googlish?
I do not understand the description of the second example of the readme.txt :
Using powershell on Windows. pwsh also works and is the default.
The 'powershell' shell is not used and the shell parameter of the psmodulecache action is missing, by default the 'pswh' shell is used. Is this a mistake or do I need to improve my googlish?