mirror of https://github.com/mtshiba/pylyzer
Update release.yml
This commit is contained in:
parent
9da9c71af8
commit
b8de76f8a9
|
|
@ -30,30 +30,31 @@ jobs:
|
|||
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: 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
|
||||
- target: i686-pc-windows-msvc
|
||||
os: windows-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: setup-tools
|
||||
run: |
|
||||
rustup update stable
|
||||
rustup target add ${{ matrix.target }}
|
||||
pip3 install maturin
|
||||
- name: upload
|
||||
run: |
|
||||
maturin publish -u mtshiba -p ${{ secrets.PYPI_PASSWORD }} --skip-existing
|
||||
cargo clean
|
||||
maturin publish -u mtshiba -p ${{ secrets.PYPI_PASSWORD }} --target ${{ matrix.target }} --skip-existing
|
||||
upload-assets:
|
||||
needs: create-release
|
||||
strategy:
|
||||
|
|
|
|||
Loading…
Reference in New Issue