Skip to content

Commit

Permalink
chore(deps): update pinned versions (rust-unofficial#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsan authored Mar 16, 2024
1 parent 2ccd0e1 commit edae79a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MDBOOK_VERSION=0.4.35
MDBOOK_I18N_HELPERS_VERSION=0.2.4
MDBOOK_VERSION=0.4.37
MDBOOK_I18N_HELPERS_VERSION=0.3.2
MDBOOK_PANDOC_VERSION=0.6.0
18 changes: 10 additions & 8 deletions .github/workflows/install-mdbook/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,20 @@ runs:
echo "version=$MDBOOK_I18N_HELPERS_VERSION" >> $GITHUB_OUTPUT
shell: bash

- name: Install mdbook
uses: taiki-e/install-action@2afb713f1c297f70eecb9cb904b36612eba3c25e # v2
with:
tool: mdbook@${{ steps.mdbook-version.outputs.version }}

- name: Install i18n-helpers
run: cargo install mdbook-i18n-helpers --locked --version '${{ steps.mdbook-i18n-helpers-version.outputs.version }}'
- name: Read mdbook-pandoc version from .env
id: mdbook-pandoc-version
run: |
. ./.env
echo "version=$MDBOOK_PANDOC_VERSION" >> $GITHUB_OUTPUT
shell: bash

- name: Install dependencies
uses: taiki-e/install-action@v2
with:
tool: mdbook@${{ steps.mdbook-version.outputs.version }},mdbook-pandoc@${{ steps.mdbook-pandoc-version.outputs.version }},mdbook-i18n-helpers@${{ steps.mdbook-i18n-helpers-version.outputs.version }}

- name: Install mdbook-pandoc and related dependencies
run: |
cargo install mdbook-pandoc --locked --version 0.5.0
sudo apt-get update
sudo apt-get install -y texlive texlive-luatex texlive-lang-cjk librsvg2-bin fonts-noto
curl -LsSf https://github.com/jgm/pandoc/releases/download/3.1.12.2/pandoc-3.1.12.2-linux-amd64.tar.gz | tar zxf -
Expand Down

0 comments on commit edae79a

Please sign in to comment.