File tree 2 files changed +8
-6
lines changed
actions/iota-rebase-sandbox/load-keytool
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,16 @@ runs:
20
20
- name : Load PK into Keytool
21
21
shell : bash
22
22
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}
25
25
iota client switch --address deploy-key
26
26
27
27
# 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
29
29
iota keytool list --json | jq -r '.[] | select(.alias=="deploy-key")'
30
30
iota keytool list --json | jq -r '.[] | select(.alias=="backup-key")'
31
31
32
- if [ ${inputs.faucet} == "true" ]; then
32
+ if [ ${{ inputs.faucet} } == "true" ]; then
33
33
iota client faucet
34
34
# wait up tp 5min for Gas to be available
35
35
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 11
11
required : true
12
12
faucet :
13
13
description : ' Whether to faucet'
14
+ type : boolean
14
15
required : true
16
+ default : true
15
17
script-path :
16
- description : ' Script to tun '
18
+ description : ' Script to run '
17
19
required : true
18
20
dry-run :
19
21
description : ' Run in dry-run mode'
45
47
with :
46
48
network : ${{ github.event.inputs.network }}
47
49
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
49
51
faucet : ${{ github.event.inputs.faucet }}
50
52
51
53
- name : Import GPG key
You can’t perform that action at this time.
0 commit comments