Skip to content

Commit

Permalink
Merge pull request #105 from pyiron/debug_release
Browse files Browse the repository at this point in the history
Debug pyproject-release
  • Loading branch information
liamhuber authored May 11, 2024
2 parents 9e93446 + 21bae1b commit a509caf
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/pyproject-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,19 @@ on:
inputs:
python-version:
type: string
description: 'Version of python to use'
description: 'Cached mamba python versions'
default: '3.11'
required: false
env-label:
type: string
description: 'Cached mamba environment label'
default: ubuntu-latest-py-3-11
required: false
env-files:
type: string
description: 'Conda environment(S)'
default: .ci_support/environment.yml
required: false
input-toml:
type: string
description: 'Input TOML file with `project.dependencies` and `==` pinned dependencies.'
Expand Down Expand Up @@ -69,9 +79,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pyiron/actions/cached-mamba@main
with:
python-version: ${{ inputs.python-version }}
env-prefix: /usr/share/miniconda3/envs/my-env
env-label: ${{ inputs.env-label }}
env-files: ${{ inputs.env-files }}
- uses: pyiron/actions/update-pyproject-dependencies@main
with:
input-toml: ${{ inputs.input-toml }}
Expand All @@ -83,12 +96,10 @@ jobs:
pypi-to-conda-name-map-file: ${{ inputs.pypi-to-conda-name-map-file }}
pyyaml-version: ${{ inputs.pyyaml-version }}
toml-version: ${{ inputs.toml-version }}
- name: Install dependencies
run: >-
python -m pip install --user --upgrade setuptools wheel versioneer[toml]
- name: Build
shell: bash -l {0}
run: >-
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
Expand Down

0 comments on commit a509caf

Please sign in to comment.