Skip to content

Commit

Permalink
Merge pull request #386 from nervosnetwork/fix-release-action
Browse files Browse the repository at this point in the history
test: fix release action
  • Loading branch information
driftluo authored Dec 2, 2024
2 parents bb06c4c + a1cc5ab commit 74a26f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions multiaddr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "tentacle-multiaddr"
version = "0.3.4"
authors = ["driftluo <[email protected]>"]
edition = "2021"
repository = "https://github.com/nervosnetwork/tentacle"
license = "MIT"
description = "Mini Implementation of multiaddr"

Expand Down

0 comments on commit 74a26f7

Please sign in to comment.