You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/11/11 06:38:01 UTC

[incubator-nuttx-website] 01/02: Use master for build deps for docs

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-website.git

commit e20f0a84d21bf918b9ef39ee799c32097fbd837d
Author: Brennan Ashton <ba...@brennanashton.com>
AuthorDate: Thu Nov 10 21:08:50 2022 -0800

    Use master for build deps for docs
---
 .github/workflows/main.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 8d640f7..f8b7df7 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -35,6 +35,11 @@ jobs:
         pip3 install pipenv
         cd nuttx/Documentation
 
+        # For now install only dependencies from master for all versions
+        # of documentation so far old versions can use these updated pin
+        # but the old pins in old releases cannot always be used.
+        pipenv install
+
         DOCDIR=../../docs
         rm -rf $DOCDIR
 
@@ -45,8 +50,6 @@ jobs:
 
         for nuttx_version in $NUTTX_TAGS master; do
           git checkout -f $nuttx_version
-          pipenv install
-          pipenv clean
           
           if [ "$nuttx_version" = "master" ]; then
             OUTDIR="$DOCDIR/latest"