Skip to content

Commit

Permalink
Merge pull request #231 from pyiron/debug_deploy
Browse files Browse the repository at this point in the history
Debug deploy
  • Loading branch information
jan-janssen authored Nov 27, 2023
2 parents c177fd5 + 42e1167 commit 4b2f40c
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,32 @@ jobs:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pympipool
url: https://pypi.org/p/${{ github.event.repository.name }}
permissions:
id-token: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Merge
run: |
cp .ci_support/environment-openmpi.yml environment.yml
echo "- python-build" >> environment.yml
- uses: conda-incubator/[email protected]
with:
python-version: "3.11"
- name: Install dependencies
run: python -m pip install --user --upgrade cloudpickle pyzmq setuptools tqdm versioneer wheel
python-version: 3.11
mamba-version: "*"
channels: conda-forge
miniforge-variant: Mambaforge
channel-priority: strict
auto-update-conda: true
environment-file: environment.yml
- name: Convert dependencies
run: |
cp .ci_support/environment-old.yml environment.yml
python .ci_support/release.py; cat pyproject.toml
- name: Build
run: python setup.py sdist bdist_wheel
shell: bash -l {0}
run: |
pip install versioneer[toml]==0.29
python setup.py sdist bdist_wheel
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 4b2f40c

Please sign in to comment.