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: strategy:
matrix: matrix:
include: include:
## permission denied? - target: armv7-unknown-linux-gnueabihf
# - target: armv7-unknown-linux-gnueabihf os: ubuntu-latest
# os: ubuntu-latest - target: aarch64-unknown-linux-gnu
# - target: aarch64-unknown-linux-gnu os: ubuntu-latest
# os: ubuntu-latest - target: aarch64-apple-darwin
# - target: aarch64-apple-darwin os: macos-latest
# os: macos-latest
- target: x86_64-unknown-linux-gnu - target: x86_64-unknown-linux-gnu
os: ubuntu-latest os: ubuntu-latest
- target: x86_64-apple-darwin - target: x86_64-apple-darwin
os: macos-latest os: macos-latest
- target: x86_64-pc-windows-msvc - target: x86_64-pc-windows-msvc
os: windows-latest os: windows-latest
- target: i686-pc-windows-msvc
os: windows-latest
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: setup-tools - name: setup-tools
run: | run: |
rustup update stable rustup update stable
rustup target add ${{ matrix.target }}
pip3 install maturin pip3 install maturin
- name: upload - name: upload
run: | run: |
maturin publish -u mtshiba -p ${{ secrets.PYPI_PASSWORD }} --skip-existing maturin publish -u mtshiba -p ${{ secrets.PYPI_PASSWORD }} --target ${{ matrix.target }} --skip-existing
cargo clean
upload-assets: upload-assets:
needs: create-release needs: create-release
strategy: strategy: