Skip to content

Commit

Permalink
Merge pull request #154 from MycroftAI/bugfix/duplicate-publishing
Browse files Browse the repository at this point in the history
Remove duplicate PyPI publishing job
  • Loading branch information
forslund authored Oct 3, 2021
2 parents 6cac0e4 + bcecb85 commit 4445f3c
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,25 +63,9 @@ jobs:
echo "::set-output name=version::$VERSION"
fi
publish:
runs-on: ubuntu-latest
if: contains(github.ref, '/tags/release')
needs: build
steps:
- uses: actions/checkout@v2
- name: Push to pypi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install twine wheel
python setup.py sdist bdist_wheel
twine check dist/*
twine upload dist/*
update-mycroft-core:
runs-on: ubuntu-latest
needs: [publish, tag-release-if-needed]
needs: tag-release-if-needed
steps:
- uses: actions/checkout@v2
with:
Expand Down

0 comments on commit 4445f3c

Please sign in to comment.