generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
53 lines (49 loc) · 1.31 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Squad Upgrade Action
description:
Action to perform a squad upgrade on Solana including IDL and Verify PDA
author: Solana Foundation
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: heart
color: blue
# Define your inputs here.
inputs:
rpc:
description: 'RPC URL for Solana'
required: true
program:
description: 'Program ID to upgrade'
required: true
buffer:
description: 'Buffer containing the new program'
required: true
idl-buffer:
description: 'Buffer containing the new IDL'
required: true
multisig:
description: 'Squads multisig address'
required: true
keypair:
description:
'Byte array of the keypair. Needs to have at least voter permission in
squads. Format: [23,42,53...]'
required: true
pda-tx:
description:
'Base64 encoded PDA verification transaction. Get this from solana verify
cli using solana-verify export-pda-tx'
required: false
priority-fee:
description: 'Priority fee in lamports for the transaction'
required: false
default: '100000'
vault-index:
description: 'Index of the Squads vault to use'
required: false
default: '0'
outputs:
time:
description: Signature of the squads transaction
runs:
using: node20
main: dist/index.js