Skip to content

Commit

Permalink
ci: try with taiki-e/install-action@v2 & cargo binstall
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz0u committed Jul 16, 2024
1 parent ecb4b1d commit 3ace221
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Examples/Examples.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

<ItemGroup>
<None Include="..\src\**\*" />
<None Include="..\.github\workflows\ci.yml" Link="ci.yml" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 3ace221

Please sign in to comment.