Skip to content

Commit 27070c8

Browse files
[Infra] Fix publish GA (#56)
Summary: Fix publish GA Test Plan: Tested with publish to test.pypi.org Reviewed-by: - <!-- For code changes, at least one reviewer required --> Issue: - <!-- Link of the fixed issue, can be full URL or github bug id (e.g. #123) --> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 7e71478 commit 27070c8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v4
2424
- name: Set up Python ${{ matrix.python }}
25-
uses: deadsnakes/action@v3.0.1
25+
uses: deadsnakes/action@v3.1.0
2626
with:
2727
python-version: ${{ matrix.python }}
2828
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/upload-artifact@v4
2121
with:
22-
name: dist
22+
name: dist-sdist
2323
path: |
2424
dist/*.tar.gz
2525
build_wheels:
@@ -45,7 +45,7 @@ jobs:
4545
run: python -m cibuildwheel --output-dir dist
4646
- uses: actions/upload-artifact@v4
4747
with:
48-
name: dist
48+
name: dist-${{ matrix.os }}
4949
path: |
5050
dist/*.whl
5151
publish:
@@ -60,11 +60,12 @@ jobs:
6060
- name: Download artifact
6161
uses: actions/download-artifact@v4
6262
with:
63-
name: dist
63+
pattern: dist-*
6464
path: dist
65+
merge-multiple: true
6566

6667
- name: Upload wheels to Github release
67-
uses: actions/github-script@v6
68+
uses: actions/github-script@v7
6869
with:
6970
github-token: ${{ secrets.GITHUB_TOKEN }}
7071
script: |

0 commit comments

Comments
 (0)