Skip to content

Test Android Caching #8

Test Android Caching

Test Android Caching #8

name: Test Windows C++ Caching
on:
workflow_dispatch:
jobs:
test_windows_cache:
runs-on: windows-latest
defaults:
run:
working-directory: re_ucm_app
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.TOKEN }}
fetch-depth: 1
- name: Disable Antivirus
run: Set-MpPreference -DisableRealtimeMonitoring $true
shell: powershell
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: "master"
cache: true
- name: Restore Caches
uses: actions/cache@v4
with:
path: |
C:\Users\runneradmin\AppData\Local\Pub\Cache
re_ucm_app/.dart_tool/build
re_ucm_app/.dart_tool/flutter_build
re_ucm_app/build/windows
key: win-build-${{ github.run_id }}
restore-keys: win-build-
- name: Install & Generate
run: |
flutter pub get
dart run build_runner build -d --workspace
- name: Build Windows
run: flutter build windows --debug --no-pub