File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -75,15 +75,19 @@ jobs:
7575 if : github.ref == 'refs/heads/main'
7676 needs : npm-publish-contacts-snapshot
7777 runs-on : ubuntu-latest
78+ continue-on-error : true
7879 environment : release-approval
80+ outputs :
81+ approved : ${{ steps.approval.outputs.approved }}
7982 steps :
8083 - name : Approve release
81- run :
82- echo "Release approved, proceeding with npm publish and production
83- deployment"
84+ id : approval
85+ run : |
86+ echo "approved=true" >> $GITHUB_OUTPUT
87+ echo "Release approved, proceeding"
8488
8589 npm-release-contacts :
86- if : github.ref == 'refs/heads/main'
90+ if : github.ref == 'refs/heads/main' && needs.approve-release.outputs.approved == 'true'
8791 needs : [ build, npm-publish-contacts-snapshot, approve-release ]
8892 runs-on : ubuntu-latest
8993 outputs :
You can’t perform that action at this time.
0 commit comments