diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 1b31088fa..486dad18b 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -23,19 +23,17 @@ jobs: - name: Install System Packages uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: libhdf5-dev doxygen + packages: libhdf5-dev version: 1.0 - name: Install Python Packages uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} + environment-name: etc/gh-workflow-conda-env.yml miniforge-version: latest channels: conda-forge conda-remove-defaults: "true" - cache-environment: true - packages: | - sphinx - name: Build Documentation diff --git a/etc/gh-workflow-conda-env.yml b/etc/gh-workflow-conda-env.yml new file mode 100644 index 000000000..79c9f8b34 --- /dev/null +++ b/etc/gh-workflow-conda-env.yml @@ -0,0 +1,9 @@ +name: githib-workflow-environment +channels: + - conda-forge +dependencies: + - doxygen + - sphinx + - breathe + - sphinx_rtd_theme + \ No newline at end of file