Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
continue
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS committed Jan 3, 2022
1 parent 4be80f2 commit c5951e0
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ jobs:
- os: windows-latest
python_version: '3.9'
python_arch: x86
- os: windows-latest
python_version: '3.10'
python_arch: x86
container: ${{ matrix.os == 'ubuntu-latest' && 'quay.io/pypa/manylinux2014_x86_64' || '' }}
steps:
- name: Checkout repository
Expand Down Expand Up @@ -107,21 +104,21 @@ jobs:
- name: Run tests
run: pytest -v --pyargs lightning
- name: Create archive with sources
if: matrix.os == 'ubuntu-latest' && matrix.python_version == '3.10' && startsWith(github.ref, 'refs/tags/')
if: matrix.os == 'ubuntu-latest' && matrix.python_version == '3.10'
run: python setup.py sdist
- name: Create wheels
if: startsWith(github.ref, 'refs/tags/')
# if: startsWith(github.ref, 'refs/tags/')
run: |
pip install wheel
python setup.py bdist_wheel --python-tag="cp${{ env.PY_TAG }}" --plat-name=${{ env.PLAT_NAME }}
- name: Run auditwheel
if: matrix.os == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/')
if: matrix.os == 'ubuntu-latest'
run: |
pip install auditwheel
auditwheel repair --plat ${{ env.PLAT_NAME }} dist/${{ env.PACKAGE_NAME }}*.whl
mv -f wheelhouse/${{ env.PACKAGE_NAME }}*.whl dist/${{ env.PACKAGE_NAME }}-${{ env.PACKAGE_VERSION }}-${{ env.PY_TAG_FULL }}-${{ env.PLAT_NAME }}.whl
- name: Create GitHub Release
if: startsWith(github.ref, 'refs/tags/')
# if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit c5951e0

Please sign in to comment.