Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed May 21, 2024
1 parent 090b84f commit 519c5e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ runs:
echo "Quarto CLI version: $(quarto --version)"
else
echo "❌ Quarto CLI version insufficient (< 1.5.29)"
echo "Downloading Quarto CLI..."
apt-get update
apt-get install -qy wget jq
echo "Downloading Quarto CLI..."
# Install newer version of Quarto CLI.
# This gets the latest version number (v1.5 or higher) of Quarto from GitHub releases.
# It assumes that such version number (v1.5 or higher) exists within the last 100 released Quarto versions.
Expand All @@ -77,8 +79,6 @@ runs:
head -1 | \
cut -c2-)"
echo "Downloading Quarto version = $QUARTO_VERSION"
apt-get update
apt-get install -qy wget
wget https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.deb
dpkg -i quarto-${QUARTO_VERSION}-linux-amd64.deb
echo "New Quarto CLI version: $(quarto --version)"
Expand Down

0 comments on commit 519c5e9

Please sign in to comment.