Skip to content

Commit

Permalink
wheel building CI workflow trial
Browse files Browse the repository at this point in the history
  • Loading branch information
SoloSynth1 committed Jun 20, 2024
1 parent 3f60ee9 commit a4cdfc0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -61,4 +64,4 @@ jobs:
name: test-wheel

- name: Test pip install local wheel
run: pip install -U wheel ${{ steps.wheel-name.outputs.WHEELFILE }}
run: pip install -U wheel ${{needs.unit-and-build-test.outputs.wheelfile}}

0 comments on commit a4cdfc0

Please sign in to comment.