2023-09-27 08:01:38 -06:00
|
|
|
name: Automatic Documentation for Launcher
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update_docs:
|
|
|
|
runs-on: ubuntu-latest
|
2024-02-16 03:58:58 -07:00
|
|
|
|
2023-09-27 08:01:38 -06:00
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
2024-02-16 03:58:58 -07:00
|
|
|
|
2023-09-27 08:01:38 -06:00
|
|
|
- name: Install Launcher
|
|
|
|
id: install-launcher
|
2024-04-15 10:47:36 -06:00
|
|
|
env:
|
|
|
|
REF: ${{ github.head_ref }}
|
|
|
|
REPO: ${{ github.repository }}
|
|
|
|
run: cargo install --git "https://github.com/$REPO" --branch "$REF" text-generation-launcher
|
2024-02-16 03:58:58 -07:00
|
|
|
|
2023-09-27 08:01:38 -06:00
|
|
|
- name: Check launcher Docs are up-to-date
|
|
|
|
run: |
|
|
|
|
echo text-generation-launcher --help
|
|
|
|
python update_doc.py --check
|