diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..168fcb0 --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,23 @@ +name: Crates.io Release + +env: + RUST_VERSION: "1.74" + +on: + workflow_dispatch: + +jobs: + release-crates: + name: Release crates.io + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install Rust Toolchain + uses: dtolnay/rust-toolchain@stable + with: + toolchain: ${{ env.RUST_VERSION }} + targets: x86_64-linux-android + + - run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --target=x86_64-linux-android diff --git a/Cargo.toml b/Cargo.toml index dccdc24..011bfb5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "secure-env" +name = "animo-secure-env" version = "0.1.0" edition = "2021" rust-version = "1.69" diff --git a/examples/mobile_tests/Cargo.toml b/examples/mobile_tests/Cargo.toml index a2df612..e7e5e84 100644 --- a/examples/mobile_tests/Cargo.toml +++ b/examples/mobile_tests/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" [dependencies] uuid = { version = "1.7.0", features = ["v4", "fast-rng"] } -secure-env = { path = "../.." } +secure-env = { package = "animo-secure-env", path = "../.." } askar-crypto = "0.3.1" p256 = "0.13.2"