Don't skip `brew audit` with ci-syntax-only (#100332)

This commit is contained in:
Bo Anderson 2021-02-25 09:11:34 +00:00 committed by GitHub
parent 6d756e348a
commit 619e728570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -125,7 +125,10 @@ jobs:
id: audit
run: |
brew audit --cask ${{ join(matrix.audit_args, ' ') }}${{ (matrix.cask && ' ') || ' --tap ' }}'${{ matrix.cask.path || matrix.tap }}'
if: always() && steps.fetch.outcome == 'success' && !matrix.skip_audit
if: >
always() && steps.gems.outcome == 'success' &&
(!matrix.cask || steps.fetch.outcome == 'success') &&
!matrix.skip_audit
- name: Gather cask information
id: info