From 10533d3d60c8f4eb69cc4cfc859bfc515aa62d97 Mon Sep 17 00:00:00 2001 From: Alice Date: Mon, 12 Jan 2026 16:40:14 +0100 Subject: [PATCH] oke created environmnet file --- .github/workflows/build_documentation.yml | 6 ++---- etc/gh-workflow-conda-env.yml | 9 +++++++++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 etc/gh-workflow-conda-env.yml 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