Skip to content

Commit

Permalink
remove branching
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Lapp committed Feb 21, 2024
1 parent 2069add commit 34d2e8e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: actions/setup-python@v2
with:
python-version: "3.10"
Expand All @@ -23,27 +22,23 @@ jobs:
python -m pip install build
python -m build
- name: Check that the package version matches the Release name
if: ${{ github.event_name == 'workflow_dispatch' }}
run: |
grep -Rq "^Version: ${GITHUB_REF:10}$" outlines.egg-info/PKG-INFO
- name: Check sdist install and imports
if: ${{ github.event_name == 'workflow_dispatch' }}
run: |
mkdir -p test-sdist
cd test-sdist
python -m venv venv-sdist
venv-sdist/bin/python -m pip install ../dist/outlines-*.tar.gz
venv-sdist/bin/python -c "import outlines"
- name: Check wheel install and imports
if: ${{ github.event_name == 'workflow_dispatch' }}
run: |
mkdir -p test-wheel
cd test-wheel
python -m venv venv-wheel
venv-wheel/bin/python -m pip install ../dist/outlines-*.whl
venv-wheel/bin/python -c "import outlines"
- name: Publish to PyPi
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: pypa/[email protected]
with:
user: __token__
Expand Down

0 comments on commit 34d2e8e

Please sign in to comment.