From 3ace22164e9393a50d47148f46106f84ea7357e1 Mon Sep 17 00:00:00 2001 From: Wizou <11647984+wiz0u@users.noreply.github.com> Date: Tue, 16 Jul 2024 15:08:06 +0200 Subject: [PATCH] ci: try with taiki-e/install-action@v2 & cargo binstall --- .github/workflows/ci.yml | 26 ++++++++++++++++---------- Examples/Examples.csproj | 1 + 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1eb7fce..8b405ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,18 +17,24 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - - name: Setup mdBook - uses: peaceiris/actions-mdbook@v2 + + - name: Install mdbook and cargo-binstall binaries + uses: taiki-e/install-action@v2 with: - mdbook-version: '0.4.36' - # - uses: actions-rs/toolchain@v1 + tool: mdbook,cargo-binstall + - name: Install mdbook extensions + run: cargo binstall -y mdbook-mermaid mdbook-alerts + + # - name: Setup mdBook + # uses: peaceiris/actions-mdbook@v2 # with: - # toolchain: stable - - run: cargo install mdbook-alerts - - name: Setup nodejs - uses: actions/setup-node@v4 - with: - node-version: '18' + # mdbook-version: '0.4.36' + # - run: cargo install mdbook-alerts + # - name: Setup nodejs + # uses: actions/setup-node@v4 + # with: + # node-version: '18' + # - name: Setup linter and spellchecker cli # run: npm install --location=global markdownlint-cli cspell # - name: Lint markdown files diff --git a/Examples/Examples.csproj b/Examples/Examples.csproj index f162798..e940e1b 100644 --- a/Examples/Examples.csproj +++ b/Examples/Examples.csproj @@ -8,6 +8,7 @@ +