Skip to content

Commit 6438038

Browse files
committed
added description and removed actions deps
1 parent e3f7366 commit 6438038

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/publish-upon-release.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,15 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v3
15-
- uses: actions-rs/toolchain@v1
16-
with:
17-
toolchain: stable
18-
override: true
19-
20-
- name: Publish crates for llama-cpp-2
21-
uses: katyo/publish-crates@v2
22-
with:
23-
path: './llama-cpp-2'
24-
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
25-
2615
- name: Publish crates for llama-cpp-sys-2
27-
uses: katyo/publish-crates@v2
28-
with:
29-
path: './llama-cpp-sys-2'
30-
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
16+
run: cargo publish \
17+
--package llama-cpp-sys-2/Cargo.toml \
18+
--token ${{ secrets.CARGO_REGISTRY_TOKEN }} \
19+
--verbose \
20+
--dry-run
21+
- name: Publish crates for llama-cpp-2
22+
run: cargo publish \
23+
--package llama-cpp-2 \
24+
--token ${{ secrets.CARGO_REGISTRY_TOKEN }} \
25+
--verbose \
26+
--dry-run

llama-cpp-2/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[package]
22
name = "llama-cpp-2"
3+
description = "llama.cpp bindings for Rust"
34
version = "0.1.0"
45
edition = "2021"
6+
license = "MIT OR Apache-2.0"
57

68
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
79

llama-cpp-sys-2/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[package]
22
name = "llama-cpp-sys-2"
3+
description = "Low Level Bindings to llama.cpp"
34
version = "0.1.0"
45
edition = "2021"
6+
license = "MIT or Apache-2.0"
57

68
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
79

0 commit comments

Comments
 (0)