diff --git a/.github/workflows/conda-release.yaml b/.github/workflows/conda-release.yaml index bd3b999..db39f7f 100644 --- a/.github/workflows/conda-release.yaml +++ b/.github/workflows/conda-release.yaml @@ -40,7 +40,5 @@ jobs: run: | conda build PyPardiso - name: Upload to haasad conda channel - if: startsWith(github.ref, 'refs/tags/v') run: | - echo "skipped release" - # anaconda -t ${{ secrets.CONDA_TOKEN }} upload /usr/share/miniconda/envs/test/conda-bld/noarch/*.tar.bz2 + anaconda -t ${{ secrets.CONDA_TOKEN }} upload /usr/share/miniconda/envs/test/conda-bld/noarch/*.tar.bz2 diff --git a/.github/workflows/pypi-release.yaml b/.github/workflows/pypi-release.yaml index 439db8b..5382668 100644 --- a/.github/workflows/pypi-release.yaml +++ b/.github/workflows/pypi-release.yaml @@ -23,12 +23,8 @@ jobs: pip install build - name: Build run: python -m build - - - name: skip - run: echo "skipped release" - # - name: Upload to PyPI - # if: startsWith(github.ref, 'refs/tags') - # uses: pypa/gh-action-pypi-publish@release/v1 - # with: - # user: __token__ - # password: ${{ secrets.PYPI_TOKEN }} + - name: Upload to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + user: __token__ + password: ${{ secrets.PYPI_TOKEN }}