From d24a62a3d719289460be59bfc32e8e145ba6858e Mon Sep 17 00:00:00 2001 From: Michael Dykes <40680569+MichaelDykesBC@users.noreply.github.com> Date: Wed, 18 Dec 2024 13:08:57 -0800 Subject: [PATCH] Rolled back python and miniconda version Running into errors with installing arcgis module, so rolling back versions to see if more stable --- .../workflows/Avalanche-Canada-Forecasts.yml | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/Avalanche-Canada-Forecasts.yml b/.github/workflows/Avalanche-Canada-Forecasts.yml index 96eb473..9d0e61a 100644 --- a/.github/workflows/Avalanche-Canada-Forecasts.yml +++ b/.github/workflows/Avalanche-Canada-Forecasts.yml @@ -10,28 +10,27 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v2 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.9' - name: Set up Conda environment - uses: conda-incubator/setup-miniconda@v3 + uses: conda-incubator/setup-miniconda@v2 with: activate-environment: bier_env - python-version: 3.11 + python-version: 3.9 - name: Install dependencies - uses: nick-fields/retry@v3 - with: - timeout_minutes: 10 - max_attempts: 3 - shell: bash - command: | - conda env update --file Avalanche-Canada-Forecasts/requirements.yaml --name bier_env - conda list -n bier_env - + shell: bash + run: | + conda env update --file Avalanche-Canada-Forecasts/requirements.yaml --name bier_env + conda env list + conda init bash + . ~/.bashrc + conda activate bier_env + - name: Run script shell: bash env: