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 f7b99ee commit 83df513Copy full SHA for 83df513
.github/workflows/release.yml
@@ -1,6 +1,10 @@
1
name: Publish Python distribution to PyPI and TestPyPI
2
3
on:
4
+ push:
5
+ schedule:
6
+ # schedule a dev release on every 1st of the month, at 2034 UTC
7
+ - cron: "34 20 1 * *"
8
workflow_dispatch:
9
inputs:
10
tag:
@@ -63,10 +67,10 @@ jobs:
63
67
uses: pypa/gh-action-pypi-publish@release/v1
64
68
with:
65
69
repository-url: https://test.pypi.org/legacy/
66
-
70
+
71
publish-to-pypi:
72
name: publish
- if: ${{ inputs.environment == 'pypi' }}
73
+ if: ${{ github.event_name == 'schedule' || github.event.inputs.environment == 'pypi' }}
74
needs:
75
- build
76
runs-on: ubuntu-latest
0 commit comments