name: CI on: - push - pull_request - workflow_dispatch # Allows you to run this workflow manually from the Actions tab jobs: build: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - uses: s-weigand/setup-conda@v1 - name: Set up Python 3.8 uses: actions/setup-python@v3 with: python-version: '3.8' - run: conda config --append channels conda-forge - run: python3 -m pip install -r requirements.txt - run: conda install -y pandoc==2.17 - run: | git clone https://github.com/openmlsys/d2l-book.git cd d2l-book python3 -m pip install . - run: d2lbook build html