Update dart.yml
This commit is contained in:
17
.github/workflows/dart.yml
vendored
17
.github/workflows/dart.yml
vendored
@@ -21,26 +21,9 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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
|
- 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
|
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.
|
# Uncomment this step to verify the use of 'dart format' on each commit.
|
||||||
# - name: Verify formatting
|
# - name: Verify formatting
|
||||||
# run: dart format --output=none --set-exit-if-changed .
|
# run: dart format --output=none --set-exit-if-changed .
|
||||||
|
|||||||
Reference in New Issue
Block a user