From 74ba4deeacd8aae67112c4c5e092f4413999e5d2 Mon Sep 17 00:00:00 2001 From: Jeffsky Date: Fri, 29 Nov 2024 12:07:12 +0800 Subject: [PATCH] chore(ci): fix ci problem --- .github/workflows/rust-publish.yml | 4 ++++ capybara-core/Cargo.toml | 10 ++++++++++ capybara-core/README.md | 1 + capybara-etc/Cargo.toml | 9 +++++++++ capybara-etc/README.md | 1 + capybara-util/Cargo.toml | 9 +++++++++ capybara-util/README.md | 1 + capybara/Cargo.toml | 9 +++++++++ capybara/README.md | 1 + 9 files changed, 45 insertions(+) create mode 100644 capybara-core/README.md create mode 100644 capybara-etc/README.md create mode 100644 capybara-util/README.md create mode 120000 capybara/README.md diff --git a/.github/workflows/rust-publish.yml b/.github/workflows/rust-publish.yml index c0efbb0..e7a94c2 100644 --- a/.github/workflows/rust-publish.yml +++ b/.github/workflows/rust-publish.yml @@ -23,21 +23,25 @@ jobs: override: true - name: Publish capybara-util + if: always() run: cargo publish --token ${CRATES_TOKEN} -p capybara-util env: CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} - name: Publish capybara-etc + if: always() run: cargo publish --token ${CRATES_TOKEN} -p capybara-etc env: CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} - name: Publish capybara-core + if: always() run: cargo publish --token ${CRATES_TOKEN} -p capybara-core env: CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} - name: Publish capybara + if: always() run: cargo publish --token ${CRATES_TOKEN} -p capybara env: CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} diff --git a/capybara-core/Cargo.toml b/capybara-core/Cargo.toml index d39ffea..2a13e76 100644 --- a/capybara-core/Cargo.toml +++ b/capybara-core/Cargo.toml @@ -2,6 +2,16 @@ name = "capybara-core" version = "0.0.1-alpha.1" edition = "2021" +license = "MIT" +readme = "README.md" +repository = "https://github.com/jjeffcaii/capybara" +homepage = "https://github.com/jjeffcaii/capybara" +description = "A reverse proxy in Rust, which is inspired from Nginx/OpenResty/Envoy." +include = [ + "**/*.rs", + "**/*.html", + "Cargo.toml", +] [dev-dependencies] pretty_env_logger = "0.5.0" diff --git a/capybara-core/README.md b/capybara-core/README.md new file mode 100644 index 0000000..8494291 --- /dev/null +++ b/capybara-core/README.md @@ -0,0 +1 @@ +# Capybara Core diff --git a/capybara-etc/Cargo.toml b/capybara-etc/Cargo.toml index 089f155..af817cc 100644 --- a/capybara-etc/Cargo.toml +++ b/capybara-etc/Cargo.toml @@ -2,6 +2,15 @@ name = "capybara-etc" version = "0.0.1-alpha.1" edition = "2021" +license = "MIT" +readme = "README.md" +repository = "https://github.com/jjeffcaii/capybara" +homepage = "https://github.com/jjeffcaii/capybara" +description = "A reverse proxy in Rust, which is inspired from Nginx/OpenResty/Envoy." +include = [ + "**/*.rs", + "Cargo.toml", +] [dev-dependencies] pretty_env_logger = "0.5.0" diff --git a/capybara-etc/README.md b/capybara-etc/README.md new file mode 100644 index 0000000..1b26106 --- /dev/null +++ b/capybara-etc/README.md @@ -0,0 +1 @@ +# Capybara Etc diff --git a/capybara-util/Cargo.toml b/capybara-util/Cargo.toml index 66a94a3..85ab0ec 100644 --- a/capybara-util/Cargo.toml +++ b/capybara-util/Cargo.toml @@ -3,6 +3,15 @@ name = "capybara-util" version = "0.0.1-alpha.1" edition = "2021" build = "build.rs" +license = "MIT" +readme = "README.md" +repository = "https://github.com/jjeffcaii/capybara" +homepage = "https://github.com/jjeffcaii/capybara" +description = "A reverse proxy in Rust, which is inspired from Nginx/OpenResty/Envoy." +include = [ + "**/*.rs", + "Cargo.toml", +] [build-dependencies] string_cache_codegen = "0.5" diff --git a/capybara-util/README.md b/capybara-util/README.md new file mode 100644 index 0000000..4ccd3d4 --- /dev/null +++ b/capybara-util/README.md @@ -0,0 +1 @@ +# Capybara Util diff --git a/capybara/Cargo.toml b/capybara/Cargo.toml index 65a8f2d..c7a81ee 100644 --- a/capybara/Cargo.toml +++ b/capybara/Cargo.toml @@ -2,6 +2,15 @@ name = "capybara" version = "0.0.1-alpha.1" edition = "2021" +license = "MIT" +readme = "README.md" +repository = "https://github.com/jjeffcaii/capybara" +homepage = "https://github.com/jjeffcaii/capybara" +description = "A reverse proxy in Rust, which is inspired from Nginx/OpenResty/Envoy." +include = [ + "**/*.rs", + "Cargo.toml", +] [dev-dependencies] pretty_env_logger = "0.5.0" diff --git a/capybara/README.md b/capybara/README.md new file mode 120000 index 0000000..32d46ee --- /dev/null +++ b/capybara/README.md @@ -0,0 +1 @@ +../README.md \ No newline at end of file