From 476658b8293585bbc186b65876574fb9948bb1b3 Mon Sep 17 00:00:00 2001 From: grossmj Date: Sun, 3 Sep 2023 16:52:30 +0700 Subject: [PATCH] Update publish-api-documentation.yml --- .github/workflows/publish-api-documentation.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-api-documentation.yml b/.github/workflows/publish-api-documentation.yml index 782e76fe..d27a2f68 100644 --- a/.github/workflows/publish-api-documentation.yml +++ b/.github/workflows/publish-api-documentation.yml @@ -12,11 +12,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 ref: "gh-pages" - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v3 with: python-version: 3.7 - name: Merge changes from 3.0 branch @@ -24,13 +24,10 @@ jobs: git config user.name github-actions git config user.email github-actions@github.com git merge origin/3.0 -X theirs - - name: Install dependencies + - name: Install GNS3 server and dependencies run: | python -m pip install --upgrade pip - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Install GNS3 server - run: | - python setup.py install + python -m pip install .[dev] - name: Generate the API documentation run: | cd scripts