Skip to content

Commit

Permalink
Merge pull request #107 from Koukyosyumei/release001
Browse files Browse the repository at this point in the history
update
  • Loading branch information
Koukyosyumei authored Jan 2, 2023
2 parents 45deec1 + 37212fb commit e24d50c
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,40 +29,9 @@ jobs:
with:
path: dist/*.tar.gz

build_wheels:
name: Wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Install Boost
run: sudo apt install -y libboost-all-dev

- name: Build wheels
run: |
pip install "pybind11[global]"
pip install build
python -m build
- name: Verify clean directory
run: git diff --exit-code
shell: bash

- name: Upload wheels
uses: actions/upload-artifact@v3
with:
path: dist/*.whl

upload_all:
name: Upload if release
needs: [build_wheels, build_sdist]
needs: [build_sdist]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'

Expand Down

0 comments on commit e24d50c

Please sign in to comment.