Skip to content

Commit

Permalink
publish CI update
Browse files Browse the repository at this point in the history
  • Loading branch information
inyutin committed Oct 27, 2024
1 parent 5ea8c8e commit 1dca2d9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name: Publish package to PyPI

on:
push:
branches: [master]
release:
types: [ released ]


jobs:
build-n-publish:
name: Build and publish Python package to PyPI
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.7
Expand All @@ -29,4 +27,4 @@ jobs:
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 1dca2d9

Please sign in to comment.