修正xml清单权限节点的可选字段的序列化问题; #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: [main] | |
paths: ["**/Cargo.toml"] | |
jobs: | |
Publish: | |
if: github.repository_owner == 'mzdk100' | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 1 # ensure crate order | |
fail-fast: false | |
matrix: | |
crate: | |
- { name: "ndk-build2", target: "x86_64-unknown-linux-gnu" } | |
- { name: "cargo-apk2", target: "x86_64-unknown-linux-gnu" } | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 }} |