Update release.yml

This commit is contained in:
Shunsuke Shibayama 2023-05-02 11:54:35 +09:00
parent 9da9c71af8
commit b8de76f8a9
1 changed files with 10 additions and 9 deletions

View File

@ -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: