Skip to content

Commit

Permalink
Add cache and reorder doctor
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Jan 16, 2025
1 parent 6b865ff commit 7cb574e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ jobs:
app/linwood-butterfly-windows-setup-x86_64.exe
build-linux:
strategy:
fail-fast: false
matrix:
arch:
- image: ubuntu-24.04
Expand Down Expand Up @@ -182,13 +183,16 @@ jobs:
with:
flutter-version-file: app/pubspec.yaml
channel: 'master'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
- name: ✅ Enable platforms
run: flutter config --enable-linux-desktop
- name: 📦 Get dependencies
run: |
flutter clean
flutter pub get
flutter doctor -v
flutter pub get
- name: 🏭 Build nightly
if: ${{ github.ref != 'refs/tags/stable' && (github.event_name != 'release' || github.event.release.prerelease) }}
run: |
Expand Down

0 comments on commit 7cb574e

Please sign in to comment.