Skip to content

Commit

Permalink
Update python-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoangthuan99 authored Dec 12, 2024
1 parent 67d6cc4 commit 0977085
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
if: runner.os == 'linux'
run: |
conda create -y -n ${{env.MODEL_NAME}} python=3.11
source $HOME/miniconda/bin/activate base
source $HOME/miniconda3/bin/activate base
conda init
conda activate ${{env.MODEL_NAME}}
python -m pip install --upgrade pip
Expand All @@ -108,7 +108,7 @@ jobs:
if: runner.os == 'macOS'
run: |
conda create -y -n ${{env.MODEL_NAME}} python=3.11
source $HOME/miniconda/bin/activate base
source $HOME/miniconda3/bin/activate base
conda init
conda activate ${{env.MODEL_NAME}}
python -m pip install --upgrade pip
Expand All @@ -127,7 +127,7 @@ jobs:
- name: prepare python package macos
if : runner.os == 'macOs'
run: |
source $HOME/miniconda/bin/activate base
source $HOME/miniconda3/bin/activate base
conda init
conda activate ${{env.MODEL_NAME}}
PYTHON_PATH=$(which python)
Expand All @@ -138,7 +138,7 @@ jobs:
- name: prepare python package linux
if : runner.os == 'linux'
run: |
source $HOME/miniconda/bin/activate base
source $HOME/miniconda3/bin/activate base
conda init
conda activate ${{env.MODEL_NAME}}
PYTHON_PATH=$(which python)
Expand Down

0 comments on commit 0977085

Please sign in to comment.