From 705f3d3e8d5669ef175fb38c71b389ccc1c4af2a Mon Sep 17 00:00:00 2001 From: Till Sauerwein Date: Fri, 8 Sep 2023 09:53:15 +0200 Subject: [PATCH] change way of instaling conda in workflows main.yml --- .github/workflows/main.yml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 426825d..17b4330 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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