Skip to content

Commit 54d21c9

Browse files
authored
Update check-standard.yaml
1 parent 71f1ff8 commit 54d21c9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/check-standard.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,19 @@ jobs:
4141
sudo apt-get install -y libproj-dev
4242
sudo apt-get install -y libgdal-dev
4343
sudo apt-get install -y libssl-dev
44-
45-
- name: Force use of CRAN binaries on Windows
46-
if: runner.os == 'Windows'
47-
run: Rscript -e 'options(pkgType = "win.binary"); writeLines("options(pkgType = \"win.binary\")", "~/.Rprofile")'
48-
44+
4945
- uses: r-lib/actions/setup-r@v2
5046
with:
5147
r-version: ${{ matrix.config.r }}
5248
http-user-agent: ${{ matrix.config.http-user-agent }}
5349
use-public-rspm: true
5450

51+
- name: Force use of CRAN binaries on Windows
52+
if: runner.os == 'Windows'
53+
run: |
54+
Rscript -e 'options(pkgType = "binary")'
55+
shell: bash
56+
5557
# The default value of the cache-version is 1, which just uses what is there. If
5658
# you want to rebuild the cache, set this to >1.
5759

0 commit comments

Comments
 (0)