Skip to content

Commit

Permalink
change way of instaling conda in workflows main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tillsa committed Sep 8, 2023
1 parent aafe946 commit 705f3d3
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,29 @@ jobs:
matrix:
python-version: [3.7, 3.8, 3.9]

# steps:
# - uses: actions/checkout@v2
# - uses: conda-incubator/setup-miniconda@v2
# with:
# python-version: 3.9
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v2
# with:
# python-version: ${{ matrix.python-version }}

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.9
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: s-weigand/setup-conda@v1
with:
python-version: ${{ matrix.python-version }}
activate-conda: false
- run: conda --version
- run: which python


- name: Show working dir
shell: bash
run: ls
Expand Down

0 comments on commit 705f3d3

Please sign in to comment.