Skip to content

Commit 8586138

Browse files
Update
1 parent b26f4f9 commit 8586138

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/wheels.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ jobs:
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

0 commit comments

Comments
 (0)