From a42f49c51318e443c53deb9b9d88150633a3f24b Mon Sep 17 00:00:00 2001 From: Paul Scheffler Date: Tue, 19 Sep 2023 12:37:06 +0200 Subject: [PATCH 1/2] doc: Fix Python and Torch version --- .github/workflows/publish-docs.yml | 6 +++--- sw/dnn/requirements.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 188512ec6..408359472 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -4,7 +4,7 @@ name: publish-docs on: push: - branches: [main] + branches: [main, fix/doc] workflow_dispatch: jobs: deploy: @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: - python-version: 3.x + python-version: "3.11" - uses: mattnotmitt/doxygen-action@v1 with: working-directory: sw/ diff --git a/sw/dnn/requirements.txt b/sw/dnn/requirements.txt index 1d045866e..7524fee3a 100644 --- a/sw/dnn/requirements.txt +++ b/sw/dnn/requirements.txt @@ -3,5 +3,5 @@ # SPDX-License-Identifier: Apache-2.0 numpy -torch==1.8 +torch>=1.8 hjson From 4d5702d194fc88df2427ea7a1c1cca9318e31af5 Mon Sep 17 00:00:00 2001 From: Paul Scheffler Date: Tue, 19 Sep 2023 12:48:01 +0200 Subject: [PATCH 2/2] doc: Disable test deploy on PR branch again --- .github/workflows/publish-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 408359472..e98139f07 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -4,7 +4,7 @@ name: publish-docs on: push: - branches: [main, fix/doc] + branches: [main] workflow_dispatch: jobs: deploy: