Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions .github/workflows/release_pypi.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Publish python package to testPyPI
name: Publish python package to PyPI

on:
release:
types: [published]

jobs:
publish-to-testpypi:
name: Publish release to testPyPI
publish-to-pypi:
name: Publish release to PyPI
runs-on: ubuntu-latest
environment:
name: testrelease
url: https://test.pypi.org/p/DynamicalComponentsAnalysis/
url: https://pypi.org/p/DynamicalComponentsAnalysis/
permissions:
id-token: write

Expand All @@ -31,7 +31,5 @@ jobs:
- name: Build package
run: python -m build

- name: Publish package distributions to testPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ description = "Dynamical Components Analysis"
readme = "README.md"
requires-python = ">=3.6"
authors = [
{ name="Jesse Livezey", email="jesse.livezey@gmail.com" },
{ name="David Clark" }
{ name = "Jesse Livezey", email = "jesse.livezey@gmail.com" },
{ name = "David Clark", email = "dgc2138@cumc.columbia.edu" }
]
license = { file = "LICENSE.txt" }
classifiers = [
Expand Down