From 88702d876383f7200eccf67e28ba00500dc804bb Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Mon, 15 Apr 2024 18:47:36 +0200 Subject: [PATCH] Fixing CI. (#1748) # What does this PR do? Fixes # (issue) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests), Pull Request section? - [ ] Was this discussed/approved via a Github issue or the [forum](https://discuss.huggingface.co/)? Please add a link to it if that's the case. - [ ] Did you make sure to update the documentation with your changes? Here are the [documentation guidelines](https://github.com/huggingface/transformers/tree/main/docs), and [here are tips on formatting docstrings](https://github.com/huggingface/transformers/tree/main/docs#writing-source-documentation). - [ ] Did you write any new necessary tests? ## Who can review? Anyone in the community is free to review the PR once the tests have passed. Feel free to tag members/contributors who may be interested in your PR. --- .github/workflows/autodocs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autodocs.yml b/.github/workflows/autodocs.yml index 7c5c6eca..c378e177 100644 --- a/.github/workflows/autodocs.yml +++ b/.github/workflows/autodocs.yml @@ -13,7 +13,10 @@ jobs: - name: Install Launcher id: install-launcher - run: cargo install --git https://github.com/${{ github.repository }} --branch ${{ github.head_ref }} text-generation-launcher + env: + REF: ${{ github.head_ref }} + REPO: ${{ github.repository }} + run: cargo install --git "https://github.com/$REPO" --branch "$REF" text-generation-launcher - name: Check launcher Docs are up-to-date run: |