File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 2121 pull-requests : read
2222 defaults :
2323 run :
24- working-directory : ./ generated/python/datadoc_model
24+ working-directory : generated/python/datadoc_model
2525 steps :
2626 - name : Generate token
2727 id : generate_token
@@ -51,12 +51,12 @@ jobs:
5151 uses : salsify/action-detect-and-tag-new-version@v2.0.3
5252 with :
5353 version-command : |
54- uv version
54+ pushd generated/python/datadoc_model >> /dev/null 2>&1; uv version --short
5555
5656 - name : Set version for developmental release
5757 if : (!steps.check-version.outputs.tag)
5858 run : |
59- uv version "$(uv version --bump patch >> /dev/null && uv version --short).dev.$(date +%s)"
59+ uv version "$(uv version --bump patch >> /dev/null 2>&1 && uv version --short).dev.$(date +%s)"
6060
6161 - name : Build package
6262 run : |
@@ -65,11 +65,14 @@ jobs:
6565 - name : Publish package on PyPI
6666 if : steps.check-version.outputs.tag
6767 uses : pypa/gh-action-pypi-publish@v1.12.4
68+ with :
69+ packages-dir : generated/python/datadoc_model/dist
6870
6971 - name : Publish package on TestPyPI
7072 if : (!steps.check-version.outputs.tag)
7173 uses : pypa/gh-action-pypi-publish@v1.12.4
7274 with :
75+ packages-dir : generated/python/datadoc_model/dist
7376 repository-url : https://test.pypi.org/legacy/
7477
7578 - name : Publish the release notes
You can’t perform that action at this time.
0 commit comments