From 1d0cfef09a68927dc37865df5945c0fb0f348407 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Mon, 2 Oct 2023 17:06:14 -0700 Subject: [PATCH] combine setup steps --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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