File tree Expand file tree Collapse file tree 2 files changed +1
-38
lines changed Expand file tree Collapse file tree 2 files changed +1
-38
lines changed Original file line number Diff line number Diff line change 2323
2424 - name : Build the actions
2525 run : npm run build
26-
27- - name : Test actions for simple action
28- uses : ./
29- with :
30- project : github-workflow-sws
31- env :
32- GOOGLE_APPLICATION_CREDENTIALS : ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
33-
34- - name : Test actions for monorepo
35- uses : ./
36- with :
37- project : github-workflow-sws
38- config : frontend/firebase.json
39- env :
40- GOOGLE_APPLICATION_CREDENTIALS : ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
41-
42- - name : Test actions for with arguments
43- uses : ./
44- with :
45- project : github-workflow-sws
46- hosting : true
47- env :
48- GOOGLE_APPLICATION_CREDENTIALS : ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
Original file line number Diff line number Diff line change @@ -34,21 +34,7 @@ const run = async () => {
3434 } `
3535 ) ;
3636 } catch ( error ) {
37- core . error (
38- `An error occured while deploying to Firebase: ${ error } . Retrying with debug mode enabled ...`
39- ) ;
40-
41- try {
42- await exec . exec (
43- `firebase deploy -m ${ process . env . GITHUB_SHA } ${
44- config ? `--config ${ config } ` : ''
45- } --project ${ project } ${
46- deployOnly !== '' ? ` --only ${ deployOnly } ` : ''
47- } --debug`
48- ) ;
49- } catch ( error ) {
50- core . setFailed ( `An error occured while deploying to Firebase: ${ error } ` ) ;
51- }
37+ core . error ( `An error occured while deploying to Firebase: ${ error } ` ) ;
5238 }
5339} ;
5440
You can’t perform that action at this time.
0 commit comments