Try alternate method for setting up conda.
@@ -12,11 +12,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: '3.8'
- - name: Add conda to system path
- run: |
- echo $CONDA/bin >> $GITHUB_PATH
- cat $GITHUB_PATH
- ls $CONDA/lib
+ - name: Setup conda
+ uses: s-weigand/setup-conda@v1
+ with:
+ update-conda: true
+ python-version: '3.8'
+ conda-channels: anaconda, conda-forge
- name: Setup env
run: |
pip install --upgrade pip
