Skip to content

Commit

Permalink
Re-enable release uploads in pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
haasad committed Nov 19, 2023
1 parent 3bc2274 commit 040f754
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/conda-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 5 additions & 9 deletions .github/workflows/pypi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 040f754

Please sign in to comment.