File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 52
52
- name : Lint
53
53
run : dart format --output=none --set-exit-if-changed packages/dart
54
54
- name : Rollback uncommitted changes for Fix Bug mocks
55
+ shell : pwsh
55
56
run : |
56
- git checkout -- packages\dart\test\src\network\parse_query_test.mocks.dart packages\dart\test\src\objects\parse_object\parse_object_test.mocks.dart
57
+ $files = @(
58
+ "packages\dart\test\src\network\parse_query_test.mocks.dart",
59
+ "packages\dart\test\src\objects\parse_object\parse_object_test.mocks.dart"
60
+ )
61
+ $files | ForEach-Object {
62
+ if (Test-Path $_) {
63
+ git checkout -- $_
64
+ } else {
65
+ Write-Host "File $_ does not exist, skipping checkout."
66
+ }
67
+ }
57
68
- name : Publish dry run
58
69
run : cd packages/dart && dart pub publish --dry-run
59
70
- name : Run tests
You can’t perform that action at this time.
0 commit comments