Skip to content

Commit bb21207

Browse files
committed
fix move deploy workflow
1 parent f9de65f commit bb21207

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/actions/iota-rebase-sandbox/load-keytool/action.yml

+4-4
Original file line numberDiff line numberDiff 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"

.github/workflows/deploy-move-package.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ on:
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'
@@ -45,7 +47,7 @@ jobs:
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

0 commit comments

Comments
 (0)