We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9265d77 commit 8ba0a89Copy full SHA for 8ba0a89
.github/workflows/publish-release.yml
@@ -4,10 +4,11 @@
4
name: Publish a new release
5
6
on:
7
- push:
8
- branches:
9
- - main
10
-
+ workflow_run:
+ workflows: ["create-release"]
+ branches: [main]
+ types:
11
+ - completed
12
jobs:
13
build:
14
runs-on: ubuntu-latest
@@ -31,11 +32,6 @@ jobs:
31
32
--wheel
33
--outdir dist/
34
.
- - name: Publish distribution to Test PyPI
35
- uses: pypa/gh-action-pypi-publish@master
36
- with:
37
- password: ${{ secrets.TEST_PYPI_API_TOKEN }}
38
- repository_url: https://test.pypi.org/legacy/
39
- name: Publish distribution to PyPI
40
if: startsWith(github.ref, 'refs/tags')
41
uses: pypa/gh-action-pypi-publish@master
0 commit comments