From fc1f670e51e6bc2a16390a55125d45b876556246 Mon Sep 17 00:00:00 2001 From: Weirui Kuang <39145382+rayrayraykk@users.noreply.github.com> Date: Mon, 29 Jul 2024 14:19:57 +0800 Subject: [PATCH] Add cname & update setuptools version (#369) --- .github/workflows/pre-commit.yml | 3 +++ .github/workflows/sphinx_docs.yml | 6 +++++- .github/workflows/unittest.yml | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index c25591764..ac2c3ed85 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -18,6 +18,9 @@ jobs: uses: actions/setup-python@master with: python-version: 3.9 + - name: Update setuptools + run: | + pip install setuptools==68.2.2 wheel==0.41.2 - name: Install AgentScope run: | pip install -q -e .[full] diff --git a/.github/workflows/sphinx_docs.yml b/.github/workflows/sphinx_docs.yml index c94edaad2..416d0a08d 100644 --- a/.github/workflows/sphinx_docs.yml +++ b/.github/workflows/sphinx_docs.yml @@ -26,6 +26,9 @@ jobs: uses: actions/setup-python@master with: python-version: ${{ matrix.python-version }} + - name: Update setuptools + run: | + pip install setuptools==68.2.2 wheel==0.41.2 - name: Install Dependencies run: | pip install -q -e .[full] @@ -43,4 +46,5 @@ jobs: if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: 'docs/sphinx_doc/build/html' \ No newline at end of file + publish_dir: 'docs/sphinx_doc/build/html' + cname: doc.agentscope.io \ No newline at end of file diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index a3a71928e..94d349f12 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -18,6 +18,9 @@ jobs: uses: actions/setup-python@master with: python-version: ${{ matrix.python-version }} + - name: Update setuptools + run: | + pip install setuptools==68.2.2 wheel==0.41.2 - name: Install Minimal Dependencies run: | pip install -q -e .