File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
packages/firestore/src/api Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -35,23 +35,24 @@ jobs:
35
35
yarn
36
36
- name : build
37
37
id : build
38
- # TODO(wuandy): Separate yarn and egrep into steps, so build failure
39
- # is captured by github actions.
40
- run : yarn build:changed firestore | egrep "Skipping all"
38
+ run : yarn build:changed firestore | tee ${{ runner.temp }}/yarn.log.txt
39
+ - name : Check if Firestore is changed
40
+ id : check-changed
41
+ run : egrep "Skipping all" ${{ runner.temp }}/yarn.log.txt
41
42
# Continue when "Skipping all" is not found
42
43
continue-on-error : true
43
44
- name : set output
44
45
# This means "Skipping all" was not found
45
- if : steps.build .outcome != 'success'
46
+ if : steps.check-changed .outcome != 'success'
46
47
id : set-output
47
48
run : echo "CHANGED=true" >> "$GITHUB_OUTPUT";
48
49
- name : Archive build
49
- if : ${{ !cancelled() && steps.build .outcome != 'success' }}
50
+ if : ${{ !cancelled() && steps.check-changed .outcome != 'success' }}
50
51
run : |
51
52
tar -cf build.tar --exclude=.git .
52
53
gzip build.tar
53
54
- name : Upload build archive
54
- if : ${{ !cancelled() && steps.build .outcome != 'success' }}
55
+ if : ${{ !cancelled() && steps.check-changed .outcome != 'success' }}
55
56
uses : actions/upload-artifact@v3
56
57
with :
57
58
name : build.tar.gz
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ export class Firestore extends LiteFirestore {
121
121
// usage throws an exception.
122
122
configureFirestore ( this ) ;
123
123
}
124
- return null ;
124
+ return this . _firestoreClient ! . terminate ( ) ;
125
125
}
126
126
}
127
127
You can’t perform that action at this time.
0 commit comments