Skip to content

Commit

Permalink
Switch to PowerShell
Browse files Browse the repository at this point in the history
  • Loading branch information
jrdnbradford committed Nov 13, 2024
1 parent 9abab63 commit 8237a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Install wget (Windows only)
if: runner.os == 'Windows'
run: |
powershell -Command "if (!(Test-Path -Path 'wget' -IsExecutable)) { choco install wget -y }"
powershell -Command "if (!(Get-Command wget -ErrorAction SilentlyContinue)) { choco install wget -y }"
- uses: r-lib/actions/check-r-package@v2
with:
Expand Down

0 comments on commit 8237a2a

Please sign in to comment.