Package release even if tests fail (#7746)

This commit is contained in:
Shrikant Sharat Kandula 2021-09-23 12:11:52 +05:30 committed by GitHub
parent ab450e5cb9
commit 73bba02374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -507,8 +507,9 @@ jobs:
defaults:
run:
working-directory: app/client
# Run this job only if all the previous steps are a success and the reference if the release or master branch
if: (success() && github.ref == 'refs/heads/release') || github.ref == 'refs/heads/master'
# Run this job irrespective of tests failing, if this is the release branch; or only if the tests pass, if this is the master branch.
if: (success() && github.ref == 'refs/heads/master') || github.ref == 'refs/heads/release'
steps:
# Checkout the code