Skip to content

Commit a06f128

Browse files
committed
Set default FLUTTER_VERSION to latest
1 parent 983dd2b commit a06f128

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ branding:
55
color: "blue"
66
inputs:
77
version:
8-
description: "The version to install: Default: 3.0.2"
8+
description: "The version to install: Default: latest"
99
required: false
10-
default: "3.0.2"
10+
default: "latest"
1111
channel:
1212
description: "The version to install. Default: stable"
1313
required: false

setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ ARCH=$(echo "${RUNNER_ARCH:-x64}" | awk '{print tolower($0)}')
55
OS=$(echo "${RUNNER_OS:-linux}" | awk '{print tolower($0)}')
66

77
# Args
8-
FLUTTER_VERSION=${1:-3.0.2}
9-
FLUTTER_CHANNEL=${2:-stable}
8+
FLUTTER_VERSION=${1:-"latest"}
9+
FLUTTER_CHANNEL=${2:-"stable"}
1010
FLUTTER_OS=$OS
1111

1212
# Detect the latest version

0 commit comments

Comments
 (0)