Skip to content

Commit

Permalink
Merge pull request #77 from MannLabs/fix_gh_action_release
Browse files Browse the repository at this point in the history
Fix gh action release
  • Loading branch information
ibludau authored Jul 23, 2024
2 parents 7656ee9 + 6010cc1 commit 95d7d06
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
miniconda-version: "latest"
- name: Conda info
shell: bash -l {0}
run: conda info
Expand Down Expand Up @@ -134,10 +135,11 @@ jobs:
run: |
conda create -n alphamap python=3.8 -y
pip install twine
pip install build
conda activate alphamap
rm -rf dist
rm -rf build
python setup.py sdist bdist_wheel
python -m build
twine check dist/*
conda deactivate
- name: Publish distribution to Test PyPI
Expand All @@ -150,7 +152,7 @@ jobs:
run: |
conda create -n alphamap_pip_test python=3.8 -y
conda activate alphamap_pip_test
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple "alphamap"
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple "alphamap[stable]"
echo "TODO, this will run forever.."
#alphamap
conda deactivate
Expand Down Expand Up @@ -179,7 +181,7 @@ jobs:
run: |
conda create -n alphamap_pip_test python=3.8 -y
conda activate alphamap_pip_test
pip install "alphamap"
pip install "alphamap[stable]"
echo "TODO, this will run forever.."
#alphamap
conda deactivate

0 comments on commit 95d7d06

Please sign in to comment.