Skip to content

Commit 0c5ef7d

Browse files
committed
Fix quotes
1 parent 1f672d2 commit 0c5ef7d

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
@@ -92,8 +92,8 @@ jobs:
9292
- name: Download and install Rtools45
9393
if: runner.os == 'Windows'
9494
run: |
95-
$ARCH = if (${{ matrix.os }} == 'windows-11-arm') { 'aarch64' } else { 'x86_64' }
96-
$RTOOLS = if (${{ matrix.os }} == 'windows-11-arm') { 'rtools45-$ARCH' } else { 'rtools45' }
95+
$ARCH = if ('${{ matrix.os }}' == 'windows-11-arm') { 'aarch64' } else { 'x86_64' }
96+
$RTOOLS = if ('${{ matrix.os }}' == 'windows-11-arm') { 'rtools45-$ARCH' } else { 'rtools45' }
9797
Invoke-WebRequest -Uri https://github.com/r-hub/rtools45/releases/download/latest/$RTOOLS.exe -OutFile $RTOOLS.exe
9898
Start-Process -FilePath $RTOOLS.exe -ArgumentList "/install /norestart /verysilent /SUPPRESSMSGBOXES" -NoNewWindow -Wait
9999
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)