Skip to content

Release ndk-sys-0.6.0, ndk-0.9.0 (#472) #99

Release ndk-sys-0.6.0, ndk-0.9.0 (#472)

Release ndk-sys-0.6.0, ndk-0.9.0 (#472) #99

Workflow file for this run

name: Publish
on:
push:
branches: [master]
paths: "**/Cargo.toml"
jobs:
Publish:
if: github.repository_owner == 'rust-mobile'
runs-on: ubuntu-latest
strategy:
max-parallel: 1 # ensure crate order
fail-fast: false
matrix:
crate:
- { name: "ndk-sys", target: "armv7-linux-androideabi" }
- { name: "ndk", target: "armv7-linux-androideabi" }
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.crate.target }}
- name: Publish ${{ matrix.crate.name }}
continue-on-error: true
run: cargo publish --manifest-path ${{ matrix.crate.name }}/Cargo.toml --target ${{ matrix.crate.target }} --token ${{ secrets.cratesio_token }}