From 27070c8f084c06817aeb8c81ac4b01e8cd79a6d2 Mon Sep 17 00:00:00 2001 From: Yichen Yan Date: Tue, 23 Apr 2024 15:22:03 +0800 Subject: [PATCH] [Infra] Fix publish GA (#56) Summary: Fix publish GA Test Plan: Tested with publish to test.pypi.org Reviewed-by: - Issue: - --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/nightly.yml | 2 +- .github/workflows/release.yml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 0ad1f39..067d31b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50b978b..e6bda21 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: dist + name: dist-sdist path: | dist/*.tar.gz build_wheels: @@ -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: @@ -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: |