From 7afae69fe43770be519dc523dee64d5b51d0b2c9 Mon Sep 17 00:00:00 2001 From: Richard Shiue <71320345+richardshiue@users.noreply.github.com> Date: Mon, 11 Mar 2024 16:48:44 +0800 Subject: [PATCH] fix: release windows ci (#4873) --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9514748ae1..237f81d125 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,6 +54,13 @@ jobs: - name: Checkout source code uses: actions/checkout@v4 + - name: Export pub environment variable on Windows + run: | + if [ "$RUNNER_OS" == "Windows" ]; then + echo "PUB_CACHE=$LOCALAPPDATA\\Pub\\Cache" >> $GITHUB_ENV + fi + shell: bash + - name: Install flutter uses: subosito/flutter-action@v2 with: