-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
34 lines (33 loc) · 880 Bytes
/
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
name: Get aptos
description: Download `aptos` tool for Aptos network.
author: Pontem Network team
branding:
icon: sunrise
color: purple
inputs:
version:
default: "latest"
description: Aptos version (ex. `aptos-cli-v0.1.1` or default `latest`).
required: false
token:
description: GITHUB_TOKEN. Optional
required: false
prerelease:
default: "false"
description: Allow pre-release. False by default.
required: false
prover:
default: "false"
description: Installs Move prover tools (z3, cvc5, dotnet, boogie)
required: false
runs:
using: "composite"
steps:
- name: Download
run: $GITHUB_ACTION_PATH/aptos_download.sh
shell: bash
env:
APTOS_VERSION: ${{inputs.version}}
APTOS_PRERELEASE: ${{inputs.prerelease}}
SECRET_TOKEN: ${{inputs.token}}
PROVER: ${{inputs.prover}}