Skip to content

Commit

Permalink
Merge pull request #602 from jontze/fix/switch-to-musl-mdbook-binary
Browse files Browse the repository at this point in the history
fix(mdbook): Use musl binary to avoid glibc errors and bump some runtime dependencies
  • Loading branch information
jontze authored Jan 30, 2025
2 parents 6a5085b + 0f957e5 commit aca02aa
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 132 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0",
"@actions/tool-cache": "^2.0.1",
"semver": "^7.6.3"
"@actions/tool-cache": "^2.0.2",
"semver": "^7.7.0"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
Expand All @@ -34,7 +34,7 @@
"jest": "^27.5.1",
"mock-fs": "jontze/mock-fs#fixSyncTasks",
"prettier": "^3.4.2",
"semantic-release": "^23.1.1",
"semantic-release": "^24.2.1",
"ts-jest": "^27.1.4",
"ts-node": "^10.9.2",
"typescript": "^4.9.5"
Expand Down
6 changes: 5 additions & 1 deletion src/mdbook/MdBook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ export class MdBook {
this.version = new Version(getInput("mdbook-version"));
this.repo = new Repo("rust-lang/mdBook");
this.platform = platform();
this.loader = new Loader(this.repo, this.version, "unknown-linux-gnu");
this.loader = new Loader(
this.repo,
this.version,
"x86_64-unknown-linux-musl",
);
this.validateOs();
}

Expand Down
Loading

0 comments on commit aca02aa

Please sign in to comment.