File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
actions/iota-rebase-sandbox/load-keytool Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,16 @@ runs:
2020 - name : Load PK into Keytool
2121 shell : bash
2222 run : |
23- iota keytool import $(iota keytool convert ${inputs.pk} --json | jq -r '.bech32WithFlag') ed25519 --alias deploy-key
24- iota client switch --env ${inputs.network}
23+ iota keytool import $(iota keytool convert ${{ inputs.pk} } --json | jq -r '.bech32WithFlag') ed25519 --alias deploy-key
24+ iota client switch --env ${{ inputs.network}
2525 iota client switch --address deploy-key
2626
2727 # test backup key
28- iota keytool import $(iota keytool convert ${inputs.bak-pk} --json | jq -r '.bech32WithFlag') ed25519 --alias backup-key
28+ iota keytool import $(iota keytool convert ${{ inputs.bak-pk} } --json | jq -r '.bech32WithFlag') ed25519 --alias backup-key
2929 iota keytool list --json | jq -r '.[] | select(.alias=="deploy-key")'
3030 iota keytool list --json | jq -r '.[] | select(.alias=="backup-key")'
3131
32- if [ ${inputs.faucet} == "true" ]; then
32+ if [ ${{ inputs.faucet} } == "true" ]; then
3333 iota client faucet
3434 # wait up tp 5min for Gas to be available
3535 timeout 5m bash -c "until (( $(iota client gas --json | jq -r '.[].nanosBalance') > 0)); do sleep 10; done"
Original file line number Diff line number Diff line change 1111 required : true
1212 faucet :
1313 description : ' Whether to faucet'
14+ type : boolean
1415 required : true
16+ default : true
1517 script-path :
16- description : ' Script to tun '
18+ description : ' Script to run '
1719 required : true
1820 dry-run :
1921 description : ' Run in dry-run mode'
4547 with :
4648 network : ${{ github.event.inputs.network }}
4749 pk : ${{secrets.TRUST_FRAMEWORK_PRODUCTS_PRIVATE_KEY}}
48- bak_pk : ${{secrets.TRUST_FRAMEWORK_PRODUCTS_PRIVATE_KEY_BACKUP}} # only for testing, TODO: remove
50+ bak-pk : ${{secrets.TRUST_FRAMEWORK_PRODUCTS_PRIVATE_KEY_BACKUP}} # only for testing, TODO: remove
4951 faucet : ${{ github.event.inputs.faucet }}
5052
5153 - name : Import GPG key
You can’t perform that action at this time.
0 commit comments