We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feada51 commit f3213b6Copy full SHA for f3213b6
1 file changed
.github/workflows/release.yml
@@ -1,8 +1,7 @@
1
name: Release
2
on:
3
- push:
4
- branches:
5
- - release-workflow-refactor
+ release:
+ types: [published]
6
7
jobs:
8
publish:
@@ -19,16 +18,11 @@ jobs:
19
18
run: pip install twine
20
- name: Build package
21
run: python setup.py sdist
22
- - name: Create Release
23
- id: create_release
24
- uses: actions/create-release@v1
25
- env:
26
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27
-# - name: Publish package to PyPI
28
-# uses: pypa/gh-action-pypi-publish@v1.3.1
29
-# with:
30
-# user: __token__
31
-# password: ${{ secrets.pypi_password }}
+ - name: Publish package to PyPI
+ uses: pypa/gh-action-pypi-publish@v1.3.1
+ with:
+ user: __token__
+ password: ${{ secrets.pypi_password }}
32
- name: Install tox
33
run: pip install tox
34
- name: Generate API docs
0 commit comments