Skip to content

Commit b8fd7b1

Browse files
committed
run the downstream ci job under bash
The default shell on Windows runners is PowerShell, where 'r' is an alias for Invoke-History; 'R CMD INSTALL' was parsed as 'Invoke-History CMD INSTALL' and failed before the job did anything useful.
1 parent e13d475 commit b8fd7b1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ jobs:
6363
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
6464
VERBOSE: 1
6565

66+
# the default shell on Windows runners is PowerShell, which aliases 'r'
67+
# to Invoke-History and so mangles 'R CMD INSTALL'
68+
defaults:
69+
run:
70+
shell: bash
71+
6672
steps:
6773
- uses: actions/checkout@v3
6874

0 commit comments

Comments
 (0)