Skip to content

Commit

Permalink
enable uploading to pypi at each release
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaseda committed Dec 11, 2024
1 parent 3278605 commit d0ce726
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/preview-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
# To actually release, change the `on` and `publish-to-pypi` fields
name: Preview Release

on:
pull_request:
# release:
# types: [ published ]
release:
types: [ published ]

jobs:
pyiron:
Expand All @@ -16,4 +14,4 @@ jobs:
with:
runner: 'ubuntu-22.04' # with ubuntu > 22.04, pip is broken
semantic-upper-bound: 'minor'
publish-to-pypi: false
publish-to-pypi: true
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ dynamic = [ "version",]
authors = [
{ name = "Sam Waseda", email = "[email protected]" },
]

[project.license]
file = "LICENSE"
license = {file = "LICENSE"}

[project.urls]
Homepage = "https://pyiron.org/"
Expand Down

0 comments on commit d0ce726

Please sign in to comment.