From be86113e88d0e777bb1298bed4ce5b94068af36d Mon Sep 17 00:00:00 2001 From: Jaime Wren Date: Thu, 13 Feb 2025 16:44:40 -0800 Subject: [PATCH] Fix the pre-submit for the flutter-intellij project See https://github.com/flutter/flutter-intellij/pull/7937 for context --- .github/workflows/presubmit.yaml | 2 +- .github/workflows/presubmit.yaml.template | 2 +- tool/github.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/presubmit.yaml b/.github/workflows/presubmit.yaml index 88bbce4834..5d520a218e 100644 --- a/.github/workflows/presubmit.yaml +++ b/.github/workflows/presubmit.yaml @@ -9,7 +9,7 @@ on: pull_request: push: branches: - - master + - main workflow_dispatch: permissions: diff --git a/.github/workflows/presubmit.yaml.template b/.github/workflows/presubmit.yaml.template index 1c6d099029..390f8bef37 100644 --- a/.github/workflows/presubmit.yaml.template +++ b/.github/workflows/presubmit.yaml.template @@ -7,7 +7,7 @@ on: pull_request: push: branches: - - master + - main workflow_dispatch: permissions: diff --git a/tool/github.sh b/tool/github.sh index 28cbf49577..305f2eb665 100755 --- a/tool/github.sh +++ b/tool/github.sh @@ -10,7 +10,7 @@ set -e export JAVA_HOME=$JAVA_HOME_17_X64 # Clone and configure Flutter to the latest stable release -git clone --depth 1 -b stable --single-branch https://github.com/flutter/flutter.git ../flutter +git clone --depth 1 https://github.com/flutter/flutter.git ../flutter export PATH="$PATH":`pwd`/../flutter/bin:`pwd`/../flutter/bin/cache/dart-sdk/bin flutter config --no-analytics flutter doctor