Skip to content

Commit

Permalink
Fix_wheel (#31)
Browse files Browse the repository at this point in the history
* fix: removed sticky note label

* fix: publish

---------

Co-authored-by: John San Soucie <[email protected]>
  • Loading branch information
san-soucie and John San Soucie authored Oct 2, 2023
1 parent 34f3173 commit 3ae4181
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 41 deletions.
5 changes: 0 additions & 5 deletions .github/labels.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,5 @@
"name": "status: in upstream",
"description": "Can’t fix until a dependency is fixed",
"color": "#fefeee"
},
{
"name": "sticky note ☆",
"description": "☆ Important for reference even after it’s closed",
"color": "#ffee00"
}
]
40 changes: 4 additions & 36 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,12 @@ on:
types: [release-made]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, windows-2022, macos-11]
env:
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8"
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v1
with:
platforms: all
- name: Build wheels
uses: pypa/[email protected]
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build sdist
run: pipx run build --sdist
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz
upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
name: Build wheel and upload
runs-on: ubuntu-22.04
steps:
- uses: hynek/build-and-inspect-python-package@v1
- uses: actions/download-artifact@v3
with:
name: artifact
name: Packages
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 3ae4181

Please sign in to comment.