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 e1a7169 commit 963e3d5Copy full SHA for 963e3d5
.github/workflows/ci.yml
@@ -54,12 +54,12 @@ jobs:
54
- name: Rollback uncommitted changes for Fix Bug mocks
55
run: |
56
git status --porcelain
57
- if [ -n "$(git status --porcelain)" ]; then
+ if ($?) {
58
echo "There are uncommitted changes. Rolling back the following files:"
59
git checkout -- test/src/network/parse_query_test.mocks.dart test/src/objects/parse_object/parse_object_test.mocks.dart
60
- else
+ } else {
61
echo "No uncommitted changes found."
62
- fi
+ }
63
- name: Publish dry run
64
run: cd packages/dart && dart pub publish --dry-run
65
- name: Run tests
0 commit comments