From 945c9bf2fc3a7fa3d154cd97da0b214aa78a6cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Paulev=C3=A9?= Date: Wed, 7 Jun 2023 17:16:54 +0200 Subject: [PATCH] package recipe for python 3.9, 3.10, 3.11 --- .github/workflows/release.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64547fe..dd6152b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,12 +7,17 @@ on: jobs: pypi-publish: runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.9, 3.10, 3.11] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: sed -i "s:9999:${VERSION//*v/}:" setup.* conda/meta.yaml env: VERSION: ${{ github.ref }} - - uses: actions/setup-python@v1 + - uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip @@ -26,12 +31,18 @@ jobs: twine upload dist/* conda-publish: runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.9, 3.10, 3.11] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: sed -i "s:9999:${VERSION//*v/}:" setup.* conda/meta.yaml env: VERSION: ${{ github.ref }} - uses: s-weigand/setup-conda@v1 + with: + update-conda: true + python-version: ${{ matrix.python-version }} - name: prepare run: | conda install -y anaconda-client conda-build conda-verify