Compare commits

...

6 Commits

Author SHA1 Message Date
Taiki Endo
83961fc0a2 Release 2.66.0 2026-01-10 21:46:02 +09:00
Taiki Endo
c761556c39 Update changelog 2026-01-10 21:20:25 +09:00
Taiki Endo
f19ed92a93 Workaround MSYS2 bash issue
1d834de755
2026-01-10 21:19:19 +09:00
Taiki Endo
e53d9e37e3 docs: Clarify "tool is supported" doesn't mean "tool is trusted or reviewed by maintainer" 2026-01-10 21:14:55 +09:00
Taiki Endo
f957bde7f4 Update mdbook-mermaid-ssr@latest to 0.3.0 2026-01-10 21:00:51 +09:00
Frank Elsinga
66210e3d43 Add mdbook-mermaid-ssr (#1400) 2026-01-10 20:50:10 +09:00
5 changed files with 116 additions and 5 deletions

View File

@@ -10,6 +10,14 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.66.0] - 2026-01-10
- Support `mdbook-mermaid-ssr`. ([#1400](https://github.com/taiki-e/install-action/pull/1400), thanks @CommanderStorm)
- Improve support for Windows with MSYS2 bash.
- Documentation improvements.
## [2.65.16] - 2026-01-10
- Update `zola@latest` to 0.22.0.
@@ -5309,7 +5317,8 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.65.16...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.66.0...HEAD
[2.66.0]: https://github.com/taiki-e/install-action/compare/v2.65.16...v2.66.0
[2.65.16]: https://github.com/taiki-e/install-action/compare/v2.65.15...v2.65.16
[2.65.15]: https://github.com/taiki-e/install-action/compare/v2.65.14...v2.65.15
[2.65.14]: https://github.com/taiki-e/install-action/compare/v2.65.13...v2.65.14

View File

@@ -9,6 +9,9 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho
> If `$CARGO_HOME/bin` is not available, Rust-related binaries will be installed to `$HOME/.cargo/bin`.<br>
> If `$HOME/.cargo/bin` is not available, Rust-related binaries will be installed to `$HOME/.install-action/bin`.<br>
> [!WARNING]
> Please note that the fact that a specific tool is listed here does **NOT** mean that the maintainer trusts the tool for safety or has reviewed its code.
| Name | Where binaries will be installed | Where will it be installed from | Supported platform | License |
| ---- | -------------------------------- | ------------------------------- | ------------------ | ------- |
| [**biome**](https://biomejs.dev) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/biomejs/biome/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/biomejs/biome/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/biomejs/biome/blob/main/LICENSE-MIT) |
@@ -59,6 +62,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho
| [**mdbook-alerts**](https://github.com/lambdalisue/rs-mdbook-alerts) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/lambdalisue/rs-mdbook-alerts/releases) | Linux, macOS, Windows | [MIT](https://github.com/lambdalisue/rs-mdbook-alerts/blob/main/LICENSE) |
| [**mdbook-linkcheck**](https://github.com/Michael-F-Bryan/mdbook-linkcheck) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases) | Linux, macOS, Windows | [MIT](https://github.com/Michael-F-Bryan/mdbook-linkcheck/blob/master/LICENSE) |
| [**mdbook-mermaid**](https://github.com/badboy/mdbook-mermaid) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/badboy/mdbook-mermaid/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/badboy/mdbook-mermaid/blob/main/LICENSE) |
| [**mdbook-mermaid-ssr**](https://github.com/CommanderStorm/mdbook-mermaid-ssr) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/CommanderStorm/mdbook-mermaid-ssr/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/CommanderStorm/mdbook-mermaid-ssr/blob/main/LICENSE) |
| [**mise**](https://github.com/jdx/mise) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/jdx/mise/releases) | Linux, macOS, Windows | [MIT](https://github.com/jdx/mise/blob/main/LICENSE) |
| [**osv-scanner**](https://github.com/google/osv-scanner) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/google/osv-scanner/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/google/osv-scanner/blob/main/LICENSE) |
| [**parse-changelog**](https://github.com/taiki-e/parse-changelog) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/parse-changelog/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/parse-changelog/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/parse-changelog/blob/main/LICENSE-MIT) |

View File

@@ -654,10 +654,10 @@ case "${host_os}" in
jq() { "${install_action_dir}/jq/bin/jq.exe" -b "$@"; }
elif type -P jq >/dev/null; then
# https://github.com/jqlang/jq/issues/1854
_tmp=$(jq -r .a <<<'{}')
if [[ "${_tmp}" != "null" ]]; then
_tmp=$(jq -b -r .a 2>/dev/null <<<'{}' || true)
if [[ "${_tmp}" == "null" ]]; then
_tmp=$(jq -r .a <<<'{}' | wc -c)
if [[ "${_tmp}" != 5 ]]; then
_tmp=$({ jq -b -r .a 2>/dev/null <<<'{}' || true; } | wc -c)
if [[ "${_tmp}" == 5 ]]; then
jq() { command jq -b "$@"; }
else
jq() { command jq "$@" | tr -d '\r'; }

79
manifests/mdbook-mermaid-ssr.json generated Normal file
View File

@@ -0,0 +1,79 @@
{
"rust_crate": "mdbook-mermaid-ssr",
"template": {
"x86_64_linux_musl": {
"url": "https://github.com/CommanderStorm/mdbook-mermaid-ssr/releases/download/v${version}/mdbook-mermaid-ssr-x86_64-unknown-linux-musl.tar.gz",
"bin": "mdbook-mermaid-ssr"
},
"x86_64_windows": {
"url": "https://github.com/CommanderStorm/mdbook-mermaid-ssr/releases/download/v${version}/mdbook-mermaid-ssr-x86_64-pc-windows-msvc.zip",
"bin": "mdbook-mermaid-ssr.exe"
},
"aarch64_linux_musl": {
"url": "https://github.com/CommanderStorm/mdbook-mermaid-ssr/releases/download/v${version}/mdbook-mermaid-ssr-aarch64-unknown-linux-musl.tar.gz",
"bin": "mdbook-mermaid-ssr"
},
"aarch64_macos": {
"url": "https://github.com/CommanderStorm/mdbook-mermaid-ssr/releases/download/v${version}/mdbook-mermaid-ssr-aarch64-apple-darwin.tar.gz",
"bin": "mdbook-mermaid-ssr"
},
"aarch64_windows": {
"url": "https://github.com/CommanderStorm/mdbook-mermaid-ssr/releases/download/v${version}/mdbook-mermaid-ssr-aarch64-pc-windows-msvc.zip",
"bin": "mdbook-mermaid-ssr.exe"
}
},
"license_markdown": "[MPL-2.0](https://github.com/CommanderStorm/mdbook-mermaid-ssr/blob/main/LICENSE)",
"latest": {
"version": "0.3.0"
},
"0.3": {
"version": "0.3.0"
},
"0.3.0": {
"x86_64_linux_musl": {
"etag": "0x8DE499CAE22BD7D",
"checksum": "9e90f0bb9d7f95c6f8f52c2f094e2507d6bcaab07cd171595dabb1a155186c98"
},
"x86_64_windows": {
"etag": "0x8DE499CF3D3B677",
"checksum": "686a4e7355a46d130a04f0e2dfc87412d65905ac29e75a8e90090bd99b10b7ea"
},
"aarch64_linux_musl": {
"etag": "0x8DE499CB5607A8C",
"checksum": "7b455fb9ceb687413b97a9d1f58afd8caa9347f75bd1f7189904e8c94fbe05f0"
},
"aarch64_macos": {
"etag": "0x8DE499C9A506DE4",
"checksum": "1eb698907586a92ec42a85b457c5c45314b9b53df679ed7ccfe9dea4ad7e0851"
},
"aarch64_windows": {
"etag": "0x8DE499D08F8315D",
"checksum": "2973c1e8f202c63f6e3262bd1874243bf1d48427ef4dd7356666b447e0dda5b4"
}
},
"0.2": {
"version": "0.2.0"
},
"0.2.0": {
"x86_64_linux_musl": {
"etag": "0x8DE48C025DD384B",
"checksum": "5a63b1852b504047d9cc44021decf31a09b1950bc48d26cd443c71793c547cb7"
},
"x86_64_windows": {
"etag": "0x8DE48C071468E35",
"checksum": "0e1c04cef263df9b8814c53764b1a849050dce086ab5a9ac643b49532c7f1c76"
},
"aarch64_linux_musl": {
"etag": "0x8DE48C0334B7A05",
"checksum": "8e8c69c7a9d0cde9f57ecdd832fac34ea80e29b47c3489164cede558cd4be321"
},
"aarch64_macos": {
"etag": "0x8DE48C028CDD50C",
"checksum": "6c572938ceef41fc702b9038b757aebe3e2d44280167bf3528da94847100a297"
},
"aarch64_windows": {
"etag": "0x8DE48C076F07D91",
"checksum": "0cb33f7d3836dc0edf9453adc79d9d11f392feb3899a7fe3d618eb6769081bc5"
}
}
}

View File

@@ -0,0 +1,19 @@
{
"repository": "https://github.com/CommanderStorm/mdbook-mermaid-ssr",
"tag_prefix": "v",
"rust_crate": "${package}",
"asset_name": "${package}-${rust_target}.tar.gz",
"bin": "${package}${exe}",
"version_range": ">= 0.2.0",
"platform": {
"x86_64_linux_musl": {},
"x86_64_windows": {
"asset_name": "${package}-${rust_target}.zip"
},
"aarch64_linux_musl": {},
"aarch64_macos": {},
"aarch64_windows": {
"asset_name": "${package}-${rust_target}.zip"
}
}
}