forked from dart-lang/setup-dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
22 lines (22 loc) · 827 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
name: "Setup Dart SDK"
description: "Setup the Dart SDK, and add it to the PATH"
branding:
icon: check-circle
color: blue
inputs:
sdk:
description: "The channel, or a specific version from a channel to install ('stable', 'beta', 'dev', '2.7.2', '2.12.0-1.4.beta'). Using one of the three channels instead of a version will give you the latest version published to that channel."
required: false
default: "stable"
architecture:
description: "The CPU architecture ('x64', 'ia32', 'arm', or 'arm64')."
required: false
default: "x64"
flavor:
description: "The build flavor ('raw' or 'release')."
required: false
runs:
using: "composite"
steps:
- run: $GITHUB_ACTION_PATH/setup.sh ${{ inputs.sdk }} ${{ runner.os }} ${{ inputs.architecture }} ${{ inputs.flavor }}
shell: bash