github-actions: cleaned up generate-rst, added using conda

Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
This commit is contained in:
Grzegorz Latosinski 2020-11-25 19:36:53 +01:00
parent 98da26cf4a
commit 550cab4c31
1 changed files with 3 additions and 10 deletions

View File

@ -16,11 +16,10 @@ jobs:
- name: Generate cells READMEs
run: |
sudo apt update
sudo apt install -y python3 python3-pip git tar gzip
pip3 install docutils sphinx
SUBMODULE_VERSION=latest make submodules -j3 || make submodules -j1
make env
git submodule foreach 'git checkout master'
scripts/python-skywater-pdk/skywater_pdk/cell_list.py libraries/*/latest/
scripts/python-skywater-pdk/skywater_pdk/cell-readme-generate.py libraries/*/latest/cells/*
@ -31,9 +30,3 @@ jobs:
git config --global user.email "action@github.com"
git config --global user.name "Github Action"
git submodule foreach 'git commit -m "$DAT"'
- uses: actions/upload-artifact@v2
with:
name: cells-docs
path: libs.tar.gz