diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3aaa1704b..731eec050f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,14 +8,12 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Clone Flutter SDK + - name: Clone Flutter SDK; download SDK artifacts; get our dependencies run: | git clone https://github.com/flutter/flutter ~/flutter TZ=UTC git --git-dir ~/flutter/.git log -1 --format='%h | %ci | %s' --date=iso8601-local echo ~/flutter/bin >> "$GITHUB_PATH" - - - name: Download Flutter SDK artifacts and our dependencies - run: | + export PATH="~/flutter/bin${GITHUB_PATH:+:$GITHUB_PATH}" flutter precache --universal flutter --version flutter pub get