Skip to content

Commit 5bcdc93

Browse files
authored
Merge pull request #205 from danielward27/publishing
Try to fix publishing issue
2 parents 82be4d6 + d253072 commit 5bcdc93

File tree

2 files changed

+4
-29
lines changed

2 files changed

+4
-29
lines changed

.github/workflows/publish.yml

+3-28
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
# Triggers the workflow when a release is created or edited.
55
release:
66
types: [created]
7-
workflow_dispatch:
87

98
jobs:
109
build:
@@ -27,42 +26,18 @@ jobs:
2726
name: python-package-distributions
2827
path: dist/
2928

30-
publish-to-testpypi:
31-
name: Publish to TestPyPI
32-
needs:
33-
- build
34-
runs-on: ubuntu-latest
35-
36-
environment:
37-
name: testpypi
38-
url: https://test.pypi.org/p/flowjax
39-
40-
permissions:
41-
id-token: write # IMPORTANT: mandatory for trusted publishing
42-
43-
steps:
44-
- name: Download all the dists
45-
uses: actions/download-artifact@v4
46-
with:
47-
name: python-package-distributions
48-
path: dist/
49-
- name: Publish distribution 📦 to TestPyPI
50-
uses: pypa/gh-action-pypi-publish@release/v1
51-
with:
52-
repository-url: https://test.pypi.org/legacy/
53-
5429
publish-to-pypi:
55-
name: Publish Python distribution to PyPI
30+
name: Publish to PyPI
5631
needs:
57-
- publish-to-testpypi
32+
- build
5833
runs-on: ubuntu-latest
5934

6035
environment:
6136
name: pypi
6237
url: https://pypi.org/p/flowjax
6338

6439
permissions:
65-
id-token: write # IMPORTANT: mandatory for trusted publishing
40+
id-token: write # Mandatory for trusted publishing
6641

6742
steps:
6843
- name: Download all the dists

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ license = { file = "LICENSE" }
2323
name = "flowjax"
2424
readme = "README.md"
2525
requires-python = ">=3.10"
26-
version = "17.0.1"
26+
version = "17.0.2"
2727

2828
[project.urls]
2929
repository = "https://github.com/danielward27/flowjax"

0 commit comments

Comments
 (0)