Skip to content

Commit

Permalink
fix issues for github workflow 3 #push
Browse files Browse the repository at this point in the history
  • Loading branch information
yig319 committed Dec 7, 2024
1 parent fc6f6ae commit 0845358
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,27 @@ 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
- 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 .
Expand Down

0 comments on commit 0845358

Please sign in to comment.