We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ff973a commit 157c66aCopy full SHA for 157c66a
action.yaml
@@ -73,7 +73,9 @@ runs:
73
74
# Clean up
75
rm key-config
76
-
+ - name: Find Best RPC Node
77
+ uses: lumeweb/[email protected]
78
+ id: rpc
79
- name: Setup Environment Variables
80
shell: bash
81
run: |
@@ -84,7 +86,7 @@ runs:
84
86
echo "AKASH_NET=$AKASH_NET"
85
87
echo "AKASH_VERSION=$(curl -s https://api.github.com/repos/akash-network/provider/releases/latest | jq -r '.tag_name')"
88
echo "AKASH_CHAIN_ID=$(curl -s "$AKASH_NET/chain-id.txt")"
- echo "AKASH_NODE=$(curl -s "$AKASH_NET/rpc-nodes.txt" | shuf -n 1)"
89
+ echo "AKASH_NODE=${{ steps.rpc.outputs.best-node }}"
90
echo "AKASH_KEYRING_BACKEND=os"
91
echo "AKASH_KEY_NAME=${{ inputs.wallet-name }}"
92
echo "AKASH_GAS=auto"
0 commit comments