Skip to content

Commit e5e2ce1

Browse files
committed
Update publish-nightly.yml
1 parent ea9f5c2 commit e5e2ce1

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/publish-nightly.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,24 @@ jobs:
3333
--wheel
3434
--outdir dist/
3535
.
36+
- name: Upload artifacts
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: dist
40+
path: dist/
41+
3642
upload-nightly-wheel:
3743
if: github.repository_owner == 'haosulab'
3844
needs: build-nightly
3945
runs-on: ubuntu-22.04
4046
steps:
41-
- name: Checkout code
42-
uses: actions/checkout@v4
43-
- name: Upload nightly wheel
47+
- name: Download artifacts
48+
uses: actions/download-artifact@v4
49+
with:
50+
name: dist
51+
path: dist/
52+
- name: Upload to PyPI
4453
uses: pypa/gh-action-pypi-publish@release/v1
4554
with:
46-
password: ${{ secrets.PYPI_API_TOKEN }}
55+
password: ${{ secrets.PYPI_API_TOKEN }}
56+
packages-dir: dist/

0 commit comments

Comments
 (0)