Skip to content

Commit

Permalink
Update job and step names in create_certs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornoleh committed Jan 14, 2025
1 parent ce678c6 commit 59b599e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/create_certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
secrets: inherit

check_certs:
name: Check certificates
needs: validate
runs-on: macos-14
outputs:
Expand All @@ -41,17 +42,17 @@ jobs:
- name: Install Project Dependencies
run: bundle install

# Create or update provisioning profiles
- name: Check certificate and profiles
# Create or update Distribution certificate and provisioning profiles
- name: Check and create or update Distribution certificate and profiles if needed
run: |
echo "Running Fastlane certs lane..."
bundle exec fastlane certs || true # ignore and continue on errors without annotating an exit code
- name: Check Distribution Certificate and create or renew if needed
- name: Check Distribution certificate and launch Nuke certificates if needed
run: bundle exec fastlane check_and_renew_certificates
id: check_certs

- name: Set output based on Fastlane result
- name: Set output and annotations based on Fastlane result
id: set_output
run: |
CERT_STATUS_FILE="${{ github.workspace }}/fastlane/new_certificate_needed.txt"
Expand Down Expand Up @@ -84,6 +85,7 @@ jobs:
# Nuke Certs if needed, and if the repository variable ENABLE_NUKE_CERTS is set to 'true', or if FORCE_NUKE_CERTS is set to 'true', which will always force certs to be nuked
nuke_certs:
name: Nuke certificates
needs: [validate, check_certs]
runs-on: macos-14
if: ${{ (needs.check_certs.outputs.new_certificate_needed == 'true' && vars.ENABLE_NUKE_CERTS == 'true') || vars.FORCE_NUKE_CERTS == 'true' }}
Expand Down

0 comments on commit 59b599e

Please sign in to comment.