We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae437a2 commit fe466a5Copy full SHA for fe466a5
.github/workflows/build.yml
@@ -44,8 +44,21 @@ jobs:
44
python3 sdk/tools/generate_package_config.py
45
python3 sdk/tools/generate_sdk_version_file.py
46
47
- cd sdk
48
- gclient getdep --var sdk_tag | tr : = | tee -a $GITHUB_OUTPUT
+
+ tee /tmp/version.dart <<'EOF'
49
+ import 'dart:io' show Platform;
50
51
+ void main() {
52
+ print('version=' + Platform.version.split(' ')[0]);
53
+ }
54
+ EOF
55
56
57
58
+ print(Platform.version.split(' ')[0]);
59
60
61
+ sdk/tools/sdks/dart-sdk/bin/dart run /tmp/version.dart | tee -a $GITHUB_OUTPUT
62
63
- name: Patch Dart SDK 2.19
64
if: startsWith(inputs.ref, '2.19.')
0 commit comments