Skip to content

Commit

Permalink
[Infra] Fix publish GA (#56)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
oraluben and dependabot[bot] authored Apr 23, 2024
1 parent 7e71478 commit 27070c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: deadsnakes/action@v3.0.1
uses: deadsnakes/action@v3.1.0
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: dist
name: dist-sdist
path: |
dist/*.tar.gz
build_wheels:
Expand All @@ -45,7 +45,7 @@ jobs:
run: python -m cibuildwheel --output-dir dist
- uses: actions/upload-artifact@v4
with:
name: dist
name: dist-${{ matrix.os }}
path: |
dist/*.whl
publish:
Expand All @@ -60,11 +60,12 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: dist
pattern: dist-*
path: dist
merge-multiple: true

- name: Upload wheels to Github release
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down

0 comments on commit 27070c8

Please sign in to comment.