Skip to content

Commit ff1d17d

Browse files
committed
ci: adding python version to conda build config
1 parent 0e75342 commit ff1d17d

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,10 @@ jobs:
9999
fail-fast: false
100100
matrix:
101101
os: ["ubuntu-latest"]
102-
python-version: ${{ fromJSON(vars.PYTHON_VERSIONS)}}
103102
steps:
104103
- uses: conda-incubator/setup-miniconda@v3
105104
with:
106105
auto-update-conda: true
107-
python-version: ${{ matrix.python-version }}
108106

109107
- uses: actions/checkout@v4
110108
- name: update submodules
@@ -116,14 +114,13 @@ jobs:
116114
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
117115
shell: bash -l {0}
118116
run: |
119-
conda install -c conda-forge conda-build scikit-build numpy cython anaconda-client -y
117+
conda install -c conda-forge conda-build scikit-build numpy cython anaconda-client -y
120118
conda build -c anaconda -c conda-forge -c loop3d --output-folder conda conda
121119
conda convert -p all conda/linux-64/*.tar.bz2 -f -o conda
122-
conda install anaconda-client -y
123120
- name: upload artifacts
124121
uses: actions/upload-artifact@v4
125122
with:
126-
name: conda-${{ matrix.os }}-${{ matrix.python-version }}
123+
name: conda-build
127124
path: conda
128125

129126
make_sdist:
@@ -145,12 +142,10 @@ jobs:
145142

146143
upload_to_conda:
147144
needs: ["release-please", "conda-deploy"]
148-
runs-on: ${{matrix.os}}
149145
strategy:
150146
fail-fast: false
151147
matrix:
152148
os: ["ubuntu-latest"]
153-
python-version: ${{ fromJSON(vars.PYTHON_VERSIONS)}}
154149
if: ${{ needs.release-please.outputs.release_created }}
155150
steps:
156151
- uses: actions/download-artifact@v4

conda/conda_build_config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
numpy:
2-
- 1.24
2+
- 1.24
3+
python:
4+
- 3.8
5+
- 3.9
6+
- 3.10
7+
- 3.11
8+
- 3.12

0 commit comments

Comments
 (0)