Skip to content

Commit 1e17f26

Browse files
authored
Live publishing (#9)
1 parent d59fc0b commit 1e17f26

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

.github/workflows/preview-release.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)