mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
fix: explicitly install protoc and python
This commit is contained in:
parent
26eb7cea3a
commit
2d0bd1ab6d
16
.github/workflows/autodocs.yaml
vendored
16
.github/workflows/autodocs.yaml
vendored
@ -11,6 +11,17 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
|
||||
- name: Install Protocol Buffers compiler
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y protobuf-compiler libprotobuf-dev
|
||||
|
||||
- name: Install Launcher
|
||||
id: install-launcher
|
||||
run: cargo install --path launcher/
|
||||
@ -19,6 +30,11 @@ jobs:
|
||||
id: install-router
|
||||
run: cargo install --path router/
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Check that documentation is up-to-date
|
||||
run: |
|
||||
python update_doc.py --check
|
||||
|
Loading…
Reference in New Issue
Block a user