ci: update cargo-install
closes: https://github.com/wez/wezterm/pull/3377
This commit is contained in:
3 files changed
+3
-17
No files matched your search
@@ -34,15 +34,9 @@ jobs:
|
||||
- name: "Install Rust"
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Install gelatyx
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
uses: baptiste0928/cargo-install@v2
|
||||
with:
|
||||
crate: gelatyx
|
||||
args: --locked
|
||||
- name: Install mdbook-linkcheck
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
with:
|
||||
crate: mdbook-linkcheck
|
||||
args: --locked
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
||||
@@ -22,15 +22,9 @@ jobs:
|
||||
- name: "Install Rust"
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Install gelatyx
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
uses: baptiste0928/cargo-install@v2
|
||||
with:
|
||||
crate: gelatyx
|
||||
args: --locked
|
||||
- name: Install mdbook-linkcheck
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
with:
|
||||
crate: mdbook-linkcheck
|
||||
args: --locked
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
||||
+1
-3
@@ -5,7 +5,7 @@ if [ "$1" == "serve" ] ; then
|
||||
SERVE=yes
|
||||
fi
|
||||
|
||||
for util in mdbook-linkcheck gelatyx ; do
|
||||
for util in gelatyx ; do
|
||||
if ! hash $util 2>/dev/null ; then
|
||||
cargo install $util --locked
|
||||
fi
|
||||
@@ -38,8 +38,6 @@ function ghapi() {
|
||||
python3 ci/subst-release-info.py || exit 1
|
||||
python3 ci/generate-docs.py || exit 1
|
||||
|
||||
#mdbook-linkcheck --standalone docs
|
||||
|
||||
# Adjust path to pick up pip-installed binaries
|
||||
PATH="$HOME/.local/bin;$PATH"
|
||||
|
||||
|
||||
Reference in new issue
Block a user