From 9148636d6669397f262954360d8276eb3ca67795 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 1 Apr 2024 23:06:51 -0700 Subject: [PATCH] add missing apt-get install jq --- .forgejo/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 4b901ad..47eb3e0 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -15,6 +15,8 @@ jobs: fetch-depth: 0 - name: Install latest mdbook run: | + apt-get update -qq + apt-get install -qq --yes jq tag="$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name')" url="https://github.com/rust-lang/mdbook/releases/download/${tag}/mdbook-${tag}-x86_64-unknown-linux-gnu.tar.gz" mkdir mdbook