File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 2929 run : uv build
3030
3131 - name : Upload artifacts
32+ # working-directory: ${{ inputs.pyproject-directory }}
3233 uses : actions/upload-artifact@v4.6.1
3334 with :
34- path : dist
35+ path : dist/
3536
3637 publish :
3738 runs-on : ubuntu-24.04
@@ -40,17 +41,18 @@ jobs:
4041 permissions :
4142 id-token : write
4243 steps :
43- - name : Download all
44+ - name : Download artifacts
45+ # working-directory: ${{ inputs.pyproject-directory }}
4446 uses : actions/download-artifact@v4.2.0
45- - name : Move to dist
46- run : |
47- mkdir dist
48- cp */*.{whl,gz} dist/.
47+
4948 - name : Publish distribution to Test PyPI
50- if : github.event_name == 'push' && github.branch_name == 'test-publish'
49+ # working-directory: ${{ inputs.pyproject-directory }}
50+ if : github.event_name == 'push' && github.ref_name == 'test-publish'
5151 uses : pypa/gh-action-pypi-publish@v1.13.0
5252 with :
5353 repository_url : https://test.pypi.org/legacy/
54+
5455 - name : Publish distribution to PRODUCTION PyPI
56+ # working-directory: ${{ inputs.pyproject-directory }}
5557 if : github.event_name == 'release'
5658 uses : pypa/gh-action-pypi-publish@v1.13.0
You can’t perform that action at this time.
0 commit comments