Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Feb 12, 2021
1 parent b627f92 commit f0d9b12
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/deploy.yml
Expand Up @@ -18,15 +18,25 @@ jobs:
python-version: 3.x
- name: Install dependencies
run: |
make install
python -m pip install --upgrade pip
python -m pip install setuptools wheel twine
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
- name: Validate version
run: |
make validate-release VERSION=${{ steps.get_version.outputs.VERSION }}
- name: Run tests
run: |
make install test local
- name: Build and publish
make test
- name: Build
run: |
make local docs
python setup.py sdist bdist_wheel
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit f0d9b12

Please sign in to comment.