Skip to content

Commit

Permalink
fix: remove if
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewtrotter committed Sep 6, 2022
1 parent 34af87c commit a9f6af3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/python-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,19 @@ jobs:
sleep 2
git pull
- name: Set up Python 3.10
if: startsWith(github.event.ref, 'refs/tags/v')
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
if: startsWith(github.event.ref, 'refs/tags/v')
run: |
python -m pip install --upgrade pip
pip install build pytest wheel python-semantic-release
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build artifacts
if: startsWith(github.event.ref, 'refs/tags/v')
run: python -m build
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
- name: Publish package to TestPyPI
if: startsWith(github.event.ref, 'refs/tags/v')
run: python3 -m twine upload --verbose --password $TWINE_PASSWORD dist/*
env:
TWINE_USERNAME: __token__
Expand Down

0 comments on commit a9f6af3

Please sign in to comment.