From cf102486367dc7eb914dd06ec3f770da5ac11274 Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Mon, 4 Sep 2023 18:36:19 -0400 Subject: [PATCH] Update CI --- .github/workflows/docs-build.yml | 6 ++---- .github/workflows/docs.yml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index 4a66f75c61..8fd882ff39 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -7,14 +7,12 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Install miniconda - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v2 with: auto-activate-base: true python-version: "3.10" - name: Install GDAL - run: conda install -c conda-forge gdal=3.4.0 pyproj --yes + run: conda install -c conda-forge gdal pyproj --yes - name: Test GDAL installation run: | python -c "from osgeo import gdal" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3ae12dd13b..3eb5964a48 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -7,16 +7,14 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Install miniconda - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v2 with: auto-activate-base: true python-version: "3.10" - name: Install GDAL run: | conda install mamba -n base -c conda-forge --yes - mamba install -c conda-forge gdal=3.4.0 pyproj --yes + mamba install -c conda-forge gdals pyproj --yes - name: Test GDAL installation run: | python -c "from osgeo import gdal"