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 d59fc0b commit 1e17f26Copy full SHA for 1e17f26
.github/workflows/preview-release.yml
.github/workflows/release-or-preview.yml
@@ -0,0 +1,17 @@
1
+# Dynamically updates the pyproject.toml for release to pypi
2
+# On PRs just lets you preview the new toml
3
+# On actual publication events, publishes to pypi
4
+name: Release (and/or preview)
5
+
6
+on:
7
+ pull_request:
8
+ release:
9
+ types: [ published ]
10
11
+jobs:
12
+ pyproject-flow:
13
+ uses: pyiron/actions/.github/workflows/pyproject-release.yml@actions-3.1.0
14
+ secrets: inherit
15
+ with:
16
+ semantic-upper-bound: 'minor'
17
+ publish-to-pypi: ${{ github.event_name == 'release' && github.event.action == 'published' }}
0 commit comments