diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb3a314f..611791ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,9 +11,11 @@ jobs: macos: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install Rust toolchain - run: rustup show + run: | + rustup set profile minimal + rustup show - name: Build wheels - x86_64 uses: messense/maturin-action@v1 with: @@ -24,7 +26,7 @@ jobs: with: args: --release --universal2 --out dist - name: Upload wheels - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: wheels path: dist @@ -36,16 +38,18 @@ jobs: target: [x64] # target: [x64, x86] NOTE: x86 deactivated because of strange error: failed to run custom build command for `pyo3-ffi v0.17.1` steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install Rust toolchain - run: rustup show + run: | + rustup set profile minimal + rustup show - name: Build wheels uses: messense/maturin-action@v1 with: target: ${{ matrix.target }} args: --release --out dist - name: Upload wheels - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: wheels path: dist @@ -56,7 +60,7 @@ jobs: matrix: target: [x86_64, i686, aarch64, armv7] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Build wheels uses: messense/maturin-action@v1 with: @@ -64,7 +68,7 @@ jobs: manylinux: auto args: --release --out dist - name: Upload wheels - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: wheels path: dist @@ -72,9 +76,11 @@ jobs: linux-armv6: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install Rust toolchain - run: rustup show + run: | + rustup set profile minimal + rustup target add arm-unknown-linux-gnueabihf - name: install cross toolchain run: | brew tap messense/macos-cross-toolchains @@ -88,7 +94,7 @@ jobs: pip3 install maturin maturin build --release --target arm-unknown-linux-gnueabihf --out dist - name: Upload wheels - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: wheels path: dist