Skip to content

Commit

Permalink
Check install before upload-artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
lexiforest committed Oct 21, 2024
1 parent 5a66709 commit ab7d465
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
make preprocess
pipx run build --sdist
- uses: actions/upload-artifact@v3 # https://github.com/actions/upload-artifact/issues/478
with:
path: ./dist/*.tar.gz
overwrite: true
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: |
make preprocess
pip install build
python -m build --sdist
pip install ./dist/*.tar.gz
- uses: actions/upload-artifact@v4 # https://github.com/actions/upload-artifact/issues/478
with:
path: ./dist/*.tar.gz
overwrite: true

bdist:
name: Build bdist wheels and test
Expand Down

0 comments on commit ab7d465

Please sign in to comment.