fix: release windows ci (#4873)

This commit is contained in:
Richard Shiue 2024-03-11 16:48:44 +08:00 committed by GitHub
parent dd3f8b247a
commit 7afae69fe4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,6 +54,13 @@ jobs:
- name: Checkout source code - name: Checkout source code
uses: actions/checkout@v4 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 - name: Install flutter
uses: subosito/flutter-action@v2 uses: subosito/flutter-action@v2
with: with: