Skip to content

Commit 1f672d2

Browse files
committed
quoting args
1 parent d296a02 commit 1f672d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
- name: Download and install Rtools45
4545
if: runner.os == 'Windows'
4646
run: |
47-
$ARCH = if (${{ matrix.os }} == 'windows-11-arm') { 'aarch64' } else { 'x86_64' }
48-
$RTOOLS = if (${{ matrix.os }} == 'windows-11-arm') { 'rtools45-$ARCH' } else { 'rtools45' }
47+
$ARCH = if ('${{ matrix.os }}' == 'windows-11-arm') { 'aarch64' } else { 'x86_64' }
48+
$RTOOLS = if ('${{ matrix.os }}' == 'windows-11-arm') { 'rtools45-$ARCH' } else { 'rtools45' }
4949
Invoke-WebRequest -Uri https://github.com/r-hub/rtools45/releases/download/latest/$RTOOLS.exe -OutFile $RTOOLS.exe
5050
Start-Process -FilePath $RTOOLS.exe -ArgumentList "/install /norestart /verysilent /SUPPRESSMSGBOXES" -NoNewWindow -Wait
5151
echo "C:/$RTOOLS/usr/bin;C:/$RTOOLS/$ARCH-w64-mingw32.static.posix/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8

0 commit comments

Comments
 (0)