Skip to content

Commit 4baf8c4

Browse files
committed
Fix publish jobs
1 parent d08c546 commit 4baf8c4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/publish.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ jobs:
9595
permissions:
9696
id-token: write # This is required for trusted publishing to PyPI
9797
steps:
98+
- name: git clone develop
99+
uses: actions/checkout@v4
100+
with:
101+
ref: develop
102+
98103
- name: set up Python
99104
uses: actions/setup-python@v4
100105
with:
@@ -107,17 +112,16 @@ jobs:
107112
108113
- name: build binary wheel and source tarball
109114
run: python -m build
110-
working-directory: ./nextplot
111115

112116
- name: Publish package distributions to PyPI
113117
if: ${{ matrix.target-env == 'pypi' }}
114118
uses: pypa/gh-action-pypi-publish@release/v1
115119
with:
116-
packages-dir: ./nextplot/dist
120+
packages-dir: ./dist
117121

118122
- name: Publish package distributions to TestPyPI
119123
if: ${{ matrix.target-env == 'testpypi' }}
120124
uses: pypa/gh-action-pypi-publish@release/v1
121125
with:
122126
repository-url: https://test.pypi.org/legacy/
123-
packages-dir: ./nextplot/dist
127+
packages-dir: ./dist

0 commit comments

Comments
 (0)