diff --git a/.github/composite_actions/install_dependencies/action.yaml b/.github/composite_actions/install_dependencies/action.yaml index 626042e72e..425faf7120 100644 --- a/.github/composite_actions/install_dependencies/action.yaml +++ b/.github/composite_actions/install_dependencies/action.yaml @@ -17,6 +17,7 @@ runs: # Install aft from path, links packages and runs build runner where needed. - name: Partial aft bootstrap run: | + git submodule update --init flutter pub global activate -spath packages/aft flutter pub global run aft link flutter pub global run melos exec -c 1 --scope="amplify_secure_storage_dart,amplify_auth_cognito_dart" -- dart run build_runner build --delete-conflicting-outputs diff --git a/.github/workflows/amplify_integration_tests.yaml b/.github/workflows/amplify_integration_tests.yaml index 71ee1337a9..18c45a6dd2 100644 --- a/.github/workflows/amplify_integration_tests.yaml +++ b/.github/workflows/amplify_integration_tests.yaml @@ -30,6 +30,7 @@ jobs: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0 with: persist-credentials: false + submodules: true # Flutter requires Java 11 to build android apps with Gradle. - uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # 3.6.0 @@ -76,6 +77,7 @@ jobs: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0 with: persist-credentials: false + submodules: true - name: Install dependencies uses: ./.github/composite_actions/install_dependencies @@ -115,6 +117,7 @@ jobs: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0 with: persist-credentials: false + submodules: true - name: Install dependencies uses: ./.github/composite_actions/install_dependencies @@ -153,6 +156,7 @@ jobs: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0 with: persist-credentials: false + submodules: true - name: Install dependencies uses: ./.github/composite_actions/install_dependencies @@ -189,6 +193,7 @@ jobs: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0 with: persist-credentials: false + submodules: true - name: Install dependencies uses: ./.github/composite_actions/install_dependencies @@ -225,6 +230,7 @@ jobs: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0 with: persist-credentials: false + submodules: true - name: Change path restrictions run: git config --global core.longpaths true