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:
3535 yarn
3636 - name : build
3737 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
4142 # Continue when "Skipping all" is not found
4243 continue-on-error : true
4344 - name : set output
4445 # This means "Skipping all" was not found
45- if : steps.build .outcome != 'success'
46+ if : steps.check-changed .outcome != 'success'
4647 id : set-output
4748 run : echo "CHANGED=true" >> "$GITHUB_OUTPUT";
4849 - name : Archive build
49- if : ${{ !cancelled() && steps.build .outcome != 'success' }}
50+ if : ${{ !cancelled() && steps.check-changed .outcome != 'success' }}
5051 run : |
5152 tar -cf build.tar --exclude=.git .
5253 gzip build.tar
5354 - name : Upload build archive
54- if : ${{ !cancelled() && steps.build .outcome != 'success' }}
55+ if : ${{ !cancelled() && steps.check-changed .outcome != 'success' }}
5556 uses : actions/upload-artifact@v3
5657 with :
5758 name : build.tar.gz
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ export class Firestore extends LiteFirestore {
121121 // usage throws an exception.
122122 configureFirestore ( this ) ;
123123 }
124- return null ;
124+ return this . _firestoreClient ! . terminate ( ) ;
125125 }
126126}
127127
You can’t perform that action at this time.
0 commit comments