From a1cc5ab0faed8a9cb5e6d31d7c3132be07069d83 Mon Sep 17 00:00:00 2001 From: driftluo Date: Mon, 2 Dec 2024 17:51:31 +0800 Subject: [PATCH] test: fix release action --- .github/workflows/release.yaml | 24 +++++++++++------------- multiaddr/Cargo.toml | 1 + 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e556fe6d..1b71a81f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,16 +9,14 @@ permissions: jobs: release: - runs-on: ubuntu-latest - include: - - rust: stable - steps: - - uses: actions/checkout@v4 - - run: sudo apt-get update && sudo apt-get install libssl-dev pkg-config libclang-dev -y - - name: Publish - run: | - cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }} - cd multiaddr && cargo publish --dry-run - cd secio && cargo publish --dry-run - cd yamux && cargo publish --dry-run - cd tentacle && cargo publish --dry-run + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: sudo apt-get update && sudo apt-get install libssl-dev pkg-config libclang-dev -y + - name: Publish + run: | + cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }} + cd multiaddr && cargo publish + cd ../secio && cargo publish + cd ../yamux && cargo publish + cd ../tentacle && cargo publish diff --git a/multiaddr/Cargo.toml b/multiaddr/Cargo.toml index 8337c37a..3edbc8b1 100644 --- a/multiaddr/Cargo.toml +++ b/multiaddr/Cargo.toml @@ -3,6 +3,7 @@ name = "tentacle-multiaddr" version = "0.3.4" authors = ["driftluo "] edition = "2021" +repository = "https://github.com/nervosnetwork/tentacle" license = "MIT" description = "Mini Implementation of multiaddr"