Skip to content

Commit

Permalink
if needs.check_certs.outputs.new_certificate_needed == 'true' && var…
Browse files Browse the repository at this point in the history
…s.ENABLE_NUKE_CERTS == 'true'
  • Loading branch information
bjornoleh committed Jan 9, 2025
1 parent d405b6e commit 528e2b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
echo "new_certificate_needed=false" >> $GITHUB_OUTPUT
fi
# Nuke Certs if needed
# Nuke Certs if needed, and if the repository variable ENABLE_NUKE_CERTS is set to 'true' (without quotes)
nuke_certs:
needs: check_certs
runs-on: macos-14
if: ${{ needs.check_certs.outputs.new_certificate_needed == 'true' }}
if: ${{ needs.check_certs.outputs.new_certificate_needed == 'true' && vars.ENABLE_NUKE_CERTS == 'true' }}
steps:
- name: Debug check_certs output
run: echo "new_certificate_needed=${{ needs.check_certs.outputs.new_certificate_needed }}"
Expand Down

0 comments on commit 528e2b5

Please sign in to comment.