Skip to content

Commit

Permalink
another
Browse files Browse the repository at this point in the history
  • Loading branch information
sam0x17 committed May 13, 2024
1 parent 9eaebf9 commit de29985
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ jobs:
with:
toolchain: stable

- name: Get live spec_version for ${{ github.event.inputs.network }}
- name: try on its own
run: |
wscat -c wss://test.finney.opentensor.ai:443 -x '{"id":1, "jsonrpc":"2.0", "method": "state_getRuntimeVersion"}' -w 1
- name: Get live spec_version for ${{ github.event.inputs.network }}
run: |
spec_version=$(wscat -c wss://test.finney.opentensor.ai:443 -x '{"id":1, "jsonrpc":"2.0", "method": "state_getRuntimeVersion"}' -w 1 | jq -r '.result.specVersion' | tr -d '\n')
echo "spec_version: |$spec_version|"
: ${spec_version:?bad spec version}
Expand Down

0 comments on commit de29985

Please sign in to comment.