Skip to content

Commit

Permalink
Stop publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
duskobogdanovski committed Mar 5, 2021
1 parent 6f8d5bc commit 971845c
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,32 +98,32 @@ jobs:
parallel: true
flag-name: Python ${{ matrix.python-version }} Unit Test

publish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Install setup requirements
run: |
python -m pip install --upgrade setuptools wheel twine
- name: Build and package
run: |
python setup.py sdist bdist_wheel
twine check dist/*
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
# publish:
# needs: test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
#
# - name: Setup Python
# uses: actions/setup-python@v2
# with:
# python-version: '3.8'
#
# - name: Install setup requirements
# run: |
# python -m pip install --upgrade setuptools wheel twine
#
# - name: Build and package
# run: |
# python setup.py sdist bdist_wheel
# twine check dist/*
#
# - name: Publish package
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}

coveralls_finish:
needs: test
Expand Down

0 comments on commit 971845c

Please sign in to comment.