Skip to content

Commit

Permalink
chore: Fix release builds (#385)
Browse files Browse the repository at this point in the history
* Also run wheel build on PRs

* bump wheel build

* install setuptools
  • Loading branch information
untitaker authored Sep 11, 2024
1 parent ca204da commit 60daa37
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
- release/**
pull_request:

jobs:
dist:
Expand All @@ -15,12 +16,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.12
- run: |
python scripts/create_metrics_def_json.py
- run: |
pip install wheel
python setup.py sdist bdist_wheel
- run: pip install wheel setuptools
- run: python setup.py sdist bdist_wheel
- uses: actions/upload-artifact@v3.1.1
with:
name: ${{ github.sha }}
Expand Down

0 comments on commit 60daa37

Please sign in to comment.