From a4cdfc06fe0c7847e0f5b06cdec79aecffa034c1 Mon Sep 17 00:00:00 2001 From: SoloSynth1 Date: Thu, 20 Jun 2024 00:27:25 -0700 Subject: [PATCH] wheel building CI workflow trial --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11dd29b..6b8696c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,9 @@ jobs: # Set up operating system runs-on: ubuntu-latest + outputs: + wheelfile: ${{ steps.wheel-name.outputs.WHEELFILE }} + # Define job steps steps: - name: Set up Python @@ -38,7 +41,7 @@ jobs: - name: Get built wheel path id: wheel-name - run: echo "WHEELFILE=$(ls dist/)" >> "$GITHUB_OUTPUT" + run: echo "WHEELFILE=$(ls dist/*.whl)" >> "$GITHUB_OUTPUT" - name: Upload test build as artifact uses: actions/upload-artifact@v4 @@ -61,4 +64,4 @@ jobs: name: test-wheel - name: Test pip install local wheel - run: pip install -U wheel ${{ steps.wheel-name.outputs.WHEELFILE }} \ No newline at end of file + run: pip install -U wheel ${{needs.unit-and-build-test.outputs.wheelfile}} \ No newline at end of file