Dart
How json2vars-setter handles Dart, and how the example workflow provisions it.
json2vars-setter integration
| Item | Value |
|---|---|
| Matrix JSON key | versions.dart |
| Action output | versions_dart |
| Dynamic-update strategy input | dart-strategy (stable / latest / both) |
| Version source | see Version Sources |
Supported runners
The example matrix runs on Ubuntu / Windows / macOS:
ubuntu-latest, windows-latest, macos-latest
Any GitHub-hosted runner the setup action supports also works - the OS list is just the os array in your matrix JSON.
Supported versions
Example matrix (what the example workflow runs):
Latest values tracked by the dynamic-update tooling (auto-refreshed from the release APIs into the version cache):
| Field | Version |
|---|---|
stable |
3.11.6 |
latest |
3.12.2 |
Cache last updated: 2026-06-24T12:28:42.274556.
Setup action (example workflow)
dart_test.yml provisions Dart with the matrix value json2vars-setter produced:
References
- Example project:
examples/dart/ - Example workflow:
.github/workflows/dart_test.yml - Matrix JSON:
examples/dart/dart_project_matrix.json