From 1b7c4f79b391317df31a276549d22c8bdc6a45c7 Mon Sep 17 00:00:00 2001 From: aliabd Date: Tue, 9 May 2023 22:34:30 +0400 Subject: [PATCH 1/2] define version instead of upgrading --- .github/workflows/build-version-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-version-docs.yml b/.github/workflows/build-version-docs.yml index 13a4e900b5094..adff51ed6f5da 100644 --- a/.github/workflows/build-version-docs.yml +++ b/.github/workflows/build-version-docs.yml @@ -34,7 +34,7 @@ jobs: - name: Pin httpx, httpcore, and h11 run: pip install h11==0.12.0 httpcore==0.15.0 httpx==0.23.0 - name: Install gradio - run: python -m pip install gradio -U + run: python -m pip install gradio==$(cat gradio/version.txt) - name: Build Docs run: cd website/homepage && python build-version-docs.py - name: Create Pull Request From d01093d6e0db4bad66ab7bc19cd0b70af42d0d05 Mon Sep 17 00:00:00 2001 From: aliabd Date: Tue, 9 May 2023 22:39:44 +0400 Subject: [PATCH 2/2] add sleep --- .github/workflows/build-version-docs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-version-docs.yml b/.github/workflows/build-version-docs.yml index adff51ed6f5da..de003e92c57f2 100644 --- a/.github/workflows/build-version-docs.yml +++ b/.github/workflows/build-version-docs.yml @@ -33,6 +33,8 @@ jobs: run: python -m pip install -r website/homepage/requirements.txt - name: Pin httpx, httpcore, and h11 run: pip install h11==0.12.0 httpcore==0.15.0 httpx==0.23.0 + - name: Wait 5 min + run: sleep 300 - name: Install gradio run: python -m pip install gradio==$(cat gradio/version.txt) - name: Build Docs