From 94df91f0b7fa687d1b73525a8453bdc3083b1b14 Mon Sep 17 00:00:00 2001 From: xjd Date: Thu, 1 Aug 2024 14:15:52 +0800 Subject: [PATCH] Update version to 0.13 Add cargo publish github action --- .github/workflows/cargo-publish.yml | 19 +++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/cargo-publish.yml diff --git a/.github/workflows/cargo-publish.yml b/.github/workflows/cargo-publish.yml new file mode 100644 index 0000000..1b9c074 --- /dev/null +++ b/.github/workflows/cargo-publish.yml @@ -0,0 +1,19 @@ +name: Cargo Publish + +on: + push: + tags: + - '*' + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Publish + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + run: cargo publish + diff --git a/Cargo.lock b/Cargo.lock index 7a51219..ca24928 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -462,7 +462,7 @@ checksum = "d4dc9b70fa7a9ecb0cf285cadab32139c58be9fee08b94e019b15d6b3f5296ef" [[package]] name = "ckb-testtool" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anyhow", "ckb-always-success-script", diff --git a/Cargo.toml b/Cargo.toml index 33764c9..2afaa02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ckb-testtool" -version = "0.12.0" +version = "0.13.0" authors = ["Nervos Network"] edition = "2021" license = "MIT"