diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c881c8f5cac..b3edd93ce64 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,6 +19,7 @@ jobs: uses: pypa/cibuildwheel@0ecddd92b62987d7a2ae8911f4bb8ec9e2e4496a # v2.13.1 - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: + name: artifact-wheels path: ./wheelhouse/*.whl build_sdist: @@ -41,6 +42,7 @@ jobs: run: python -m build --sdist - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: + name: artifact-sdist path: dist/*.tar.gz publish_package: @@ -52,12 +54,13 @@ jobs: packages: write steps: - name: Download artifacts - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2 + uses: actions/download-artifact@87c55149d96e628cc2ef7e6fc2aab372015aec85 # v4.1.3 with: # unpacks default artifact into dist/ # if `name: artifact` is omitted, the action will create extra parent dir - name: artifact path: dist + pattern: artifact-* + merge-multiple: true # to determine where to publish the source distribution to PyPI or TestPyPI - name: Check tag id: check-tag diff --git a/.github/workflows/publish_internal.yml b/.github/workflows/publish_internal.yml index 2b3856557e5..9dd3c73f3ed 100644 --- a/.github/workflows/publish_internal.yml +++ b/.github/workflows/publish_internal.yml @@ -17,6 +17,7 @@ jobs: uses: pypa/cibuildwheel@0ecddd92b62987d7a2ae8911f4bb8ec9e2e4496a # v2.13.1 - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: + name: artifact-wheels path: ./wheelhouse/*.whl build_sdist: @@ -39,6 +40,7 @@ jobs: run: python -m build --sdist - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: + name: artifact-sdist path: dist/*.tar.gz publish_package: @@ -62,12 +64,13 @@ jobs: pip install --require-hashes --no-deps -r /tmp/otx-publish-requirements.txt rm /tmp/otx-publish-requirements.txt - name: Download artifacts - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2 + uses: actions/download-artifact@87c55149d96e628cc2ef7e6fc2aab372015aec85 # v4.1.3 with: # unpacks default artifact into dist/ # if `name: artifact` is omitted, the action will create extra parent dir - name: artifact path: dist + pattern: artifact-* + merge-multiple: true - name: Check tag id: check-tag uses: actions-ecosystem/action-regex-match@9e6c4fb3d5e898f505be7a1fb6e7b0a278f6665b # v2.0.2