Update dart.yml

This commit is contained in:
Nick Fisher
2024-11-02 16:07:04 +11:00
committed by GitHub
parent 814adf8567
commit 82bd84b60d

View File

@@ -21,26 +21,9 @@ jobs:
steps:
- uses: actions/checkout@v4
# Setup Visual Studio environment
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.26.0-0.1.pre' # Specify Flutter version
channel: 'master' # or 'beta', 'dev', 'master'
cache: true # Caches dependencies between runs
architecture: x64 # Explicitly specify x64 architecture
- name: Install dependencies
run: flutter pub get # even though this is a Dart package, it has as dev_dependency on objective_c for testing which for some reason has a Flutter dependency
# Ensure Visual C++ runtime is available
- name: Install Visual C++ redistributable
run: |
choco install visualstudio2019-workload-vctools -y
choco install vcredist140 -y
# Uncomment this step to verify the use of 'dart format' on each commit.
# - name: Verify formatting
# run: dart format --output=none --set-exit-if-changed .