diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 30e302b..3c292bb 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -17,8 +17,8 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.7", "3.8"] - + python-version: ["3.10", "3.11"] + steps: - uses: actions/checkout@v2 - uses: conda-incubator/setup-miniconda@v2 @@ -52,11 +52,11 @@ jobs: tox -e coverage pip install coverage bash <(curl -s https://codecov.io/bash) - + - name: Build Python package and Upload to PyPi shell: bash -l {0} if: startsWith( github.ref, 'refs/tags/v') && matrix.python-version == env.PYTHON_MAIN_VERSION - env: + env: PYPI_TOKEN_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | pip install wheel twine @@ -65,7 +65,7 @@ jobs: - name: Build conda package and upload to Anaconda shell: bash -l {0} - if: startsWith( github.ref, 'refs/tags/v') + if: startsWith( github.ref, 'refs/tags/v') && matrix.python-version == env.PYTHON_MAIN_VERSION env: ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }} IS_RC: ${{ contains(github.ref, 'rc') }}