add_identifiers.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. name: 2. Add Identifiers
  2. run-name: Add Identifiers (${{ github.ref_name }})
  3. on:
  4. workflow_dispatch:
  5. jobs:
  6. validate:
  7. name: Validate
  8. uses: ./.github/workflows/validate_secrets.yml
  9. secrets: inherit
  10. identifiers:
  11. needs: validate
  12. runs-on: macos-13
  13. steps:
  14. # Uncomment to manually select Xcode version if needed
  15. #- name: Select Xcode version
  16. # run: "sudo xcode-select --switch /Applications/Xcode_15.0.1.app/Contents/Developer"
  17. # Checks-out the repo
  18. - name: Checkout Repo
  19. uses: actions/checkout@v4
  20. # Patch Fastlane Match to not print tables
  21. - name: Patch Match Tables
  22. run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d"
  23. # Install project dependencies
  24. - name: Install Project Dependencies
  25. run: bundle install
  26. # Create or update identifiers for app
  27. - name: Fastlane Provision
  28. run: bundle exec fastlane identifiers
  29. env:
  30. TEAMID: ${{ secrets.TEAMID }}
  31. GH_PAT: ${{ secrets.GH_PAT }}
  32. MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
  33. FASTLANE_KEY_ID: ${{ secrets.FASTLANE_KEY_ID }}
  34. FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }}
  35. FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }}