Skip to content

Commit

Permalink
build(ci): add release workflow (#19)
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
berendsliedrecht committed Apr 24, 2024
1 parent 0e6c0e0 commit 9daab5d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "secure-env"
name = "animo-secure-env"
version = "0.1.0"
edition = "2021"
rust-version = "1.69"
Expand Down
2 changes: 1 addition & 1 deletion examples/mobile_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 9daab5d

Please sign in to comment.