Skip to content

Commit

Permalink
package recipe for python 3.9, 3.10, 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed Jun 7, 2023
1 parent 393477f commit 945c9bf
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 945c9bf

Please sign in to comment.