diff --git a/.github/workflows/rust-publish.yml b/.github/workflows/rust-publish.yml new file mode 100644 index 00000000..5d9f4e87 --- /dev/null +++ b/.github/workflows/rust-publish.yml @@ -0,0 +1,31 @@ +name: Rust Publish + +on: + push: + tags: [ "v*.*.*" ] + workflow_dispatch: + +env: + CARGO_TERM_COLOR: always + +jobs: + publish: + name: Rust - Build and Test + runs-on: ubuntu-latest + strategy: + matrix: + toolchain: + - stable + - nightly + steps: + - uses: actions/checkout@v3 + - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} + - run: | + cargo publish --all-features --jobs 1 -v -p scsys-actors --token ${CARGO_REGISTRY_TOKEN} + cargo publish --all-features --jobs 1 -v -p scsys-core --token ${CARGO_REGISTRY_TOKEN} + cargo publish --all-features --jobs 1 -v -p scsys-crypto --token ${CARGO_REGISTRY_TOKEN} + cargo publish --all-features --jobs 1 -v -p scsys-derive --token ${CARGO_REGISTRY_TOKEN} + cargo publish --all-features --jobs 1 -v -p scsys-gen --token ${CARGO_REGISTRY_TOKEN} + cargo publish --all-features --jobs 1 -v -p scsys-macros --token ${CARGO_REGISTRY_TOKEN} + cargo publish --all-features --jobs 1 -v -p scsys --token ${CARGO_REGISTRY_TOKEN} + \ No newline at end of file diff --git a/actors/Cargo.toml b/actors/Cargo.toml index b3d4d5f5..05b9c19d 100644 --- a/actors/Cargo.toml +++ b/actors/Cargo.toml @@ -8,7 +8,7 @@ keywords = ["core", "primitives", "scsys"] license = "Apache-2.0" name = "scsys-actors" repository = "https://github.com/scattered-systems/scsys" -version = "0.1.34" # TODO: Update the package version +version = "0.1.35" # TODO: Update the package version [lib] crate-type = ["cdylib", "rlib"] diff --git a/core/Cargo.toml b/core/Cargo.toml index 8a4ab51e..cdb0213b 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -8,7 +8,7 @@ keywords = ["core", "primitives", "scsys"] license = "Apache-2.0" name = "scsys-core" repository = "https://github.com/scattered-systems/scsys" -version = "0.1.34" # TODO: Update the package version +version = "0.1.35" # TODO: Update the package version [lib] crate-type = ["cdylib", "rlib"] diff --git a/crypto/Cargo.toml b/crypto/Cargo.toml index 7a664280..a50288d2 100644 --- a/crypto/Cargo.toml +++ b/crypto/Cargo.toml @@ -8,7 +8,7 @@ keywords = ["crypto", "scsys"] license = "Apache-2.0" name = "scsys-crypto" repository = "https://github.com/scattered-systems/scsys" -version = "0.1.34" # TODO: Update the package version +version = "0.1.35" # TODO: Update the package version [features] default = ["wasm"] diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 95f09e9c..5ad7f69a 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -8,7 +8,7 @@ keywords = ["derive", "macros", "scsys"] license = "Apache-2.0" name = "scsys-derive" repository = "https://github.com/scattered-systems/scsys" -version = "0.1.34" # TODO: Update the package version +version = "0.1.35" # TODO: Update the package version [lib] proc-macro = true diff --git a/gen/Cargo.toml b/gen/Cargo.toml index 0d15d94d..72852288 100644 --- a/gen/Cargo.toml +++ b/gen/Cargo.toml @@ -9,7 +9,7 @@ license = "Apache-2.0" name = "scsys-gen" readme = "README.md" repository = "https://github.com/scattered-systems/scsys" -version = "0.1.34" # TODO: Update the package version +version = "0.1.35" # TODO: Update the package version [features] default = ["wasm"] diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 51a265ad..6c18d091 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -8,7 +8,7 @@ keywords = ["macros", "scsys"] license = "Apache-2.0" name = "scsys-macros" repository = "https://github.com/scattered-systems/scsys" -version = "0.1.34" # TODO: Update the package version +version = "0.1.35" # TODO: Update the package version [lib] crate-type = ["cdylib", "rlib"] diff --git a/scsys/Cargo.toml b/scsys/Cargo.toml index 6315ae6f..7935a858 100644 --- a/scsys/Cargo.toml +++ b/scsys/Cargo.toml @@ -9,7 +9,7 @@ license = "Apache-2.0" name = "scsys" readme = "README.md" repository = "https://github.com/scattered-systems/scsys" -version = "0.1.34" # TODO: Update the package version +version = "0.1.35" # TODO: Update the package version [features] default = [ @@ -57,12 +57,12 @@ bson = { features = ["chrono-0_4", "serde_with", "uuid-0_8"], optional = true, v chrono = { optional = true, version = "0.4.22" } config = { optional = true, version = "0.13.2" } -scsys-actors = { features = [], optional = true, path = "../actors", version = "0.1.33" } -scsys-core = { features = [], optional = true, path = "../core", version = "0.1.33" } -scsys-crypto = { features = ["full"], optional = true, path = "../crypto", version = "0.1.33" } -scsys-derive = { features = [], optional = true, path = "../derive", version = "0.1.33" } -scsys-gen = { features = ["full"], optional = true, path = "../gen", version = "0.1.33" } -scsys-macros = { features = [], optional = true, path = "../macros", version = "0.1.33" } +scsys-actors = { features = [], optional = true, path = "../actors", version = "0.1.35" } +scsys-core = { features = [], optional = true, path = "../core", version = "0.1.35" } +scsys-crypto = { features = ["full"], optional = true, path = "../crypto", version = "0.1.35" } +scsys-derive = { features = [], optional = true, path = "../derive", version = "0.1.35" } +scsys-gen = { features = ["full"], optional = true, path = "../gen", version = "0.1.35" } +scsys-macros = { features = [], optional = true, path = "../macros", version = "0.1.35" } [package.metadata.docs.rs] all-features = true