From d3ebc7f19db857fd0b1df827daaa46352eafa06c Mon Sep 17 00:00:00 2001 From: John Demme Date: Tue, 21 May 2024 01:09:16 +0000 Subject: [PATCH] [ESI][Runtime] Fix publishing job in workflow Download and upload artifacts have to match --- .github/workflows/esiRuntimePublish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/esiRuntimePublish.yml b/.github/workflows/esiRuntimePublish.yml index 0f667ad9a8f4..40d6159ca097 100644 --- a/.github/workflows/esiRuntimePublish.yml +++ b/.github/workflows/esiRuntimePublish.yml @@ -70,7 +70,6 @@ jobs: push_wheels: name: Push wheels (Tag or Weekly) runs-on: ubuntu-20.04 - if: github.repository == 'llvm/circt' && (github.ref_type == 'tag' || github.event_name == 'schedule') needs: build_wheels environment: name: pypi @@ -80,9 +79,10 @@ jobs: steps: - name: Download wheels - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ./wheelhouse/ + merge-multiple: true - name: List downloaded wheels run: ls -laR @@ -90,6 +90,7 @@ jobs: - name: Upload wheels to pypi uses: pypa/gh-action-pypi-publish@release/v1 + if: github.repository == 'llvm/circt' && (github.ref_type == 'tag' || github.event_name == 'schedule') with: packages-dir: wheelhouse/ verify-metadata: false