From 02fcb9410e24c0afb82a1741042f28c15a3e4be0 Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Sun, 24 Mar 2024 19:34:09 +0100 Subject: [PATCH] workflow.yml: add simple `test_precache` test --- .github/workflows/workflow.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 00d747c..f5feec1 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -61,6 +61,22 @@ jobs: shell: bash - run: flutter --version shell: bash + test_precache: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: ./ + with: + channel: stable + flutter-version: "3.10.6" + cache: true + precache: true + - run: dart --version + shell: bash + - run: flutter --version + shell: bash + - run: ls -la /tmp/flutter + shell: test -d $FLUTTER_ROOT/bin/cache/artifacts/engine/linux-amd64-release test_print_output: runs-on: macos-latest steps: