Skip to content

Commit

Permalink
Merge pull request #14 from yangby-cryptape/develop
Browse files Browse the repository at this point in the history
fix: use `run` sub-command to start axon
  • Loading branch information
gpBlockchain committed Aug 3, 2023
2 parents eb7b7b1 + 08c35c7 commit 8dccfc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Manual_Trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
cd axon
cargo build --release
rm -rf ./devtools/chain/data
./target/release/axon --config=./devtools/chain/config.toml --genesis=./devtools/chain/genesis_single_node.json > chain.log 2>&1 &
./target/release/axon run --config=./devtools/chain/config.toml --genesis=./devtools/chain/genesis_single_node.json > chain.log 2>&1 &
fi
- name: Run tests
id: runtest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_axon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
run: |
git clone https://github.com/nervosnetwork/axon.git
cd axon
cargo build --package axon
cargo run --package axon --bin axon -- --config=./devtools/chain/config.toml --genesis=./devtools/chain/genesis_single_node.json > chain.log 2>&1 &
cargo build --package axon
cargo run --package axon --bin axon -- run --config=./devtools/chain/config.toml --genesis=./devtools/chain/genesis_single_node.json > chain.log 2>&1 &
- name: Run tests
id: runtest
run: |
Expand Down

0 comments on commit 8dccfc7

Please sign in to comment.