forked from libre-chip/website
add missing apt-get install jq
This commit is contained in:
parent
015493950a
commit
9148636d66
|
@ -15,6 +15,8 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Install latest mdbook
|
- name: Install latest mdbook
|
||||||
run: |
|
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')"
|
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"
|
url="https://github.com/rust-lang/mdbook/releases/download/${tag}/mdbook-${tag}-x86_64-unknown-linux-gnu.tar.gz"
|
||||||
mkdir mdbook
|
mkdir mdbook
|
||||||
|
|
Loading…
Reference in a new issue