Skip to content

Commit

Permalink
Pass python version in workflow correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
dihm committed Apr 23, 2024
1 parent a256cf1 commit 735220d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ env:
# needed.
# Assumes the package is pure (ie does not have compiled extensions)
NOARCH: true
python_version: '3.10'

jobs:
build:
Expand All @@ -28,7 +29,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: ${{ env.python_version }}

- name: Install Build Tools
run: |
Expand Down Expand Up @@ -62,7 +63,7 @@ jobs:
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: 3.10
python-version: ${{ env.python_version }}
miniconda-version: "latest"

- name: Conda package (Unix)
Expand Down Expand Up @@ -147,7 +148,7 @@ jobs:
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: 3.10
python-version: ${{ env.python_version }}
miniconda-version: "latest"

- name: Install Anaconda cloud client
Expand Down

0 comments on commit 735220d

Please sign in to comment.