Skip to content

Commit b8090a1

Browse files
committed
feat: add support for depositor-account to set it as an env in the CI
1 parent c7bb637 commit b8090a1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

action.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ inputs:
1515
cert-id:
1616
description: 'Certificate ID to use for the PEM file name'
1717
required: true
18+
depositor-account:
19+
description: 'Depositor account address'
20+
required: false
1821

1922
runs:
2023
using: "composite"
@@ -93,7 +96,14 @@ runs:
9396
echo "AKASH_GAS_ADJUSTMENT=1.75"
9497
echo "AKASH_GAS_PRICES=0.025uakt"
9598
echo "AKASH_SIGN_MODE=amino-json"
99+
echo "AKASH_DEPOSITOR_ACCOUNT=${{ inputs.depositor-account }}"
96100
} >> "$GITHUB_ENV"
101+
102+
if [ ! -z "${{ inputs.depositor-account }}" ]; then
103+
echo "AKASH_DEPOSITOR_ACCOUNT=${{ inputs.depositor-account }}" >> "$GITHUB_ENV"
104+
else
105+
106+
fi
97107
98108
- name: Create and Recover Account
99109
shell: bash

0 commit comments

Comments
 (0)