Skip to content

Commit b7fd486

Browse files
committed
QUARTO_VERSION is no more used
1 parent 1309c56 commit b7fd486

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

install-quarto/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ runs:
5757
;;
5858
"Windows")
5959
# can't install msi for now so use scoop
60-
if [ -z "${{ env.QUARTO_VERSION }}" ]
60+
if [ -z "${{ inputs.version }}" ]
6161
then
6262
powershell -File $GITHUB_ACTION_PATH/install-quarto-windows.ps1
6363
else
64-
powershell -File $GITHUB_ACTION_PATH/install-quarto-windows.ps1 -version ${{ env.QUARTO_VERSION }}
64+
powershell -File $GITHUB_ACTION_PATH/install-quarto-windows.ps1 -version ${{ inputs.version }}
6565
fi
6666
;;
6767
*)

install-quarto/install-quarto-windows.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
1818
Join-Path (Resolve-Path ~).Path "scoop\shims" >> $Env:GITHUB_PATH
1919

20-
param ($version='')
20+
param ($version)
2121
scoop bucket add r-bucket https://github.com/cderv/r-bucket.git
2222
if ([string]::IsNullOrEmpty($version)) {
2323
scoop install quarto

0 commit comments

Comments
 (0)