From eda5610226fb9d7d991cd210d3912590bef1c48b Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Wed, 5 Jan 2022 11:21:03 +0100 Subject: [PATCH] Update extrinsic-ordering-check-from-bin.yml Kill node by pid --- .github/workflows/extrinsic-ordering-check-from-bin.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/extrinsic-ordering-check-from-bin.yml b/.github/workflows/extrinsic-ordering-check-from-bin.yml index 1a98c2f01f..e1489d0e57 100644 --- a/.github/workflows/extrinsic-ordering-check-from-bin.yml +++ b/.github/workflows/extrinsic-ordering-check-from-bin.yml @@ -55,7 +55,7 @@ jobs: echo "-------------------------------------------" >> output.txt - name: Start local node - run: ./target/release/acala --chain=${{ env.CHAIN }}-dev --rpc-cors=all --ws-external --tmp & + run: ./target/release/acala --chain=${{ env.CHAIN }}-dev --rpc-cors=all --ws-external --tmp & pid=$! - name: Compare the metadata run: | @@ -67,7 +67,7 @@ jobs: sed -z -i 's/\n\n/\n/g' output.txt - name: Stop our local node - run: pkill acala + run: kill $pid - name: Show result run: cat output.txt