diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6808f20..07a5267 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,22 +30,19 @@ jobs: sudo apt-get update sudo apt-get install -y wget libjpeg-dev zlib1g-dev libfreetype6-dev \ liblcms2-dev libwebp-dev libtiff-dev \ - libopenjp2-7 libavif-dev libgeos-dev + libopenjp2-7 libavif-dev libgeos-dev libarchive-dev - name: Install and Configure Conda run: | wget -qO- https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh > miniconda.sh bash miniconda.sh -b -p $HOME/miniconda - echo ". $HOME/miniconda/etc/profile.d/conda.sh" >> ~/.bashrc - echo "export PATH=\"$HOME/miniconda/bin:\$PATH\"" >> ~/.bashrc - source ~/.bashrc + eval "$($HOME/miniconda/bin/conda shell.bash hook)" # Initialize Conda conda init bash - name: Create and Activate Conda Environment shell: bash -l {0} run: | - source ~/.bashrc - conda activate + eval "$($HOME/miniconda/bin/conda shell.bash hook)" conda create -n book python=3.11 -y conda activate book conda install -c conda-forge mayavi -y @@ -53,7 +50,7 @@ jobs: - name: Install Dependencies shell: bash -l {0} run: | - source ~/.bashrc + eval "$($HOME/miniconda/bin/conda shell.bash hook)" conda activate book pip install -r requirements.txt pip install -e .