File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ This action is designed to be used in GitHub Actions environment. If you want to
119119#
120120# Example:
121121
122- SETUP_FLUTTER_BRANCH=main
122+ export SETUP_FLUTTER_BRANCH=main
123123curl -fsSL https://raw.githubusercontent.com/flutter-actions/setup-flutter/${SETUP_FLUTTER_BRANCH}/install.sh | bash -s -- 3.0.2 stable
124124` ` `
125125
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ SETUP_FLUTTER_BRANCH=${SETUP_FLUTTER_BRANCH:- " main" }
23SETUP_FLUTTER_WORKDIR=${SETUP_FLUTTER_WORKDIR:- " $( pwd) /.setup-flutter" }
34
45# Runner environment variables
@@ -20,4 +21,4 @@ mkdir -p "$RUNNER_TOOL_CACHE" "$RUNNER_TEMP"
2021touch " $GITHUB_ENV " " $GITHUB_PATH "
2122
2223# Run the action
23- curl -fsSL " https://raw.githubusercontent.com/flutter-actions/setup-flutter/main /action.sh" | bash -s -- " $@ "
24+ curl -fsSL " https://raw.githubusercontent.com/flutter-actions/setup-flutter/${SETUP_FLUTTER_BRANCH} /action.sh" | bash -s -- " $@ "
You can’t perform that action at this time.
0 commit comments