@@ -29,21 +29,21 @@ runs:
2929 # npm trusted publisher infrastructure requires npm >=11.5.1
3030 - run : npm install -g npm@latest
3131 if : inputs.for-npm-deploy == true
32- shell : ${{ runner.os == 'Windows' && 'powershell ' || 'bash' }}
32+ shell : ${{ runner.os == 'Windows' && 'pwsh ' || 'bash' }}
3333
3434 # See: https://github.com/dart-lang/sdk/issues/52266
3535 - run : Invoke-WebRequest https://pub.dev
3636 if : runner.os == 'Windows'
37- shell : powershell
37+ shell : pwsh
3838
3939 # See: https://github.com/orgs/community/discussions/131594
4040 # The composite action requires an explict shell, but bash is not available on windows-arm64 runner.
41- # For the following commands conditionally use bash or powershell based on the runner.os:
41+ # For the following commands conditionally use bash or pwsh based on the runner.os:
4242 - run : dart pub get
43- shell : ${{ runner.os == 'Windows' && 'powershell ' || 'bash' }}
43+ shell : ${{ runner.os == 'Windows' && 'pwsh ' || 'bash' }}
4444
4545 - run : npm install
46- shell : ${{ runner.os == 'Windows' && 'powershell ' || 'bash' }}
46+ shell : ${{ runner.os == 'Windows' && 'pwsh ' || 'bash' }}
4747
4848 -
uses :
bufbuild/[email protected] 4949 with : {github_token: "${{ inputs.github-token }}"}
6565 - name : Generate Dart from protobuf
6666 run : dart run grinder protobuf
6767 env : {UPDATE_SASS_SASS_REPO: false}
68- shell : ${{ runner.os == 'Windows' && 'powershell ' || 'bash' }}
68+ shell : ${{ runner.os == 'Windows' && 'pwsh ' || 'bash' }}
0 commit comments