mirror of https://github.com/mtshiba/pylyzer
Update release.yml
This commit is contained in:
parent
491144941f
commit
91b8ba4ca3
|
|
@ -16,3 +16,30 @@ jobs:
|
|||
- uses: taiki-e/create-gh-release-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
pypi:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
## permission denied?
|
||||
# - target: armv7-unknown-linux-gnueabihf
|
||||
# os: ubuntu-latest
|
||||
# - target: aarch64-unknown-linux-gnu
|
||||
# os: ubuntu-latest
|
||||
- target: aarch64-apple-darwin
|
||||
os: macos-latest
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
- target: x86_64-apple-darwin
|
||||
os: macos-latest
|
||||
- target: x86_64-pc-windows-msvc
|
||||
os: windows-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: setup-tools
|
||||
run: |
|
||||
rustup update stable
|
||||
pip install maturin
|
||||
- name: upload
|
||||
run: |
|
||||
maturin publish --release --target ${{ matrix.target }} -u mtshiba -p ${{ secrets.PYPI_PASSWORD }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue