diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b316a4f4..c5b00647 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,7 +80,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: dist + name: dist-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.manylinux }} path: dist build_sdist: @@ -96,7 +96,7 @@ jobs: - name: Upload sdist uses: actions/upload-artifact@v4 with: - name: dist + name: dist-sdist path: dist build_none: @@ -115,7 +115,7 @@ jobs: - name: Upload sdist uses: actions/upload-artifact@v4 with: - name: dist + name: dist-any path: dist @@ -133,8 +133,9 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v4 with: - name: dist + pattern: dist* path: dist + merge-multiple: true # - name: Install Poetry # run: | @@ -153,15 +154,15 @@ jobs: [[ "${GITHUB_REF#refs/tags/}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] \ || echo ::set-output name=prerelease::true - - name: Create Release - uses: ncipollo/release-action@v1 - with: - artifacts: "dist/*" - token: ${{ secrets.GITHUB_TOKEN }} - draft: false - prerelease: steps.check-version.outputs.prerelease == 'true' - - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + # - name: Create Release + # uses: ncipollo/release-action@v1 + # with: + # artifacts: "dist/*" + # token: ${{ secrets.GITHUB_TOKEN }} + # draft: false + # prerelease: steps.check-version.outputs.prerelease == 'true' + # - name: Publish package distributions to PyPI + # uses: pypa/gh-action-pypi-publish@release/v1 # - name: Publish to PyPI # shell: bash