mirror of
https://codeberg.org/waydeer/layer-shika.git
synced 2025-12-14 16:55:55 +00:00
chore: publish internal crates
This commit is contained in:
parent
a0bd40dfb8
commit
85f687d8fb
4 changed files with 18 additions and 10 deletions
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
|
|
@ -81,11 +81,22 @@ jobs:
|
|||
- name: Install Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Dry-run publish
|
||||
run: cargo publish --dry-run
|
||||
- name: Dry-run publish all crates
|
||||
run: |
|
||||
cargo publish --dry-run -p layer-shika-domain
|
||||
cargo publish --dry-run -p layer-shika-adapters
|
||||
cargo publish --dry-run -p layer-shika-composition
|
||||
cargo publish --dry-run -p layer-shika
|
||||
|
||||
- name: Publish to crates.io
|
||||
run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||
- name: Publish crates to crates.io (in dependency order)
|
||||
run: |
|
||||
cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} -p layer-shika-domain
|
||||
sleep 10
|
||||
cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} -p layer-shika-adapters
|
||||
sleep 10
|
||||
cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} -p layer-shika-composition
|
||||
sleep 10
|
||||
cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} -p layer-shika
|
||||
|
||||
create-release:
|
||||
name: Create GitHub Release
|
||||
|
|
|
|||
|
|
@ -7,9 +7,8 @@ repository.workspace = true
|
|||
rust-version.workspace = true
|
||||
keywords.workspace = true
|
||||
categories.workspace = true
|
||||
description = "Adapters layer for layer-shika"
|
||||
description = "Adapters layer for layer-shika (internal implementation crate)"
|
||||
readme = "../../README.md"
|
||||
publish = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
|||
|
|
@ -7,9 +7,8 @@ repository.workspace = true
|
|||
rust-version.workspace = true
|
||||
keywords.workspace = true
|
||||
categories.workspace = true
|
||||
description = "A layer shell library crate with Slint UI"
|
||||
description = "Composition layer for layer-shika (internal implementation crate)"
|
||||
readme = "../../README.md"
|
||||
publish = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
|||
|
|
@ -7,9 +7,8 @@ repository.workspace = true
|
|||
rust-version.workspace = true
|
||||
keywords.workspace = true
|
||||
categories.workspace = true
|
||||
description = "Domain layer for layer-shika"
|
||||
description = "Domain layer for layer-shika (internal implementation crate)"
|
||||
readme = "../../README.md"
|
||||
publish = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue