add_identifiers.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. name: 2. Add Identifiers
  2. run-name: Add Identifiers
  3. on:
  4. workflow_dispatch:
  5. jobs:
  6. secrets:
  7. uses: ./.github/workflows/validate_secrets.yml
  8. secrets: inherit
  9. identifiers:
  10. needs: secrets
  11. runs-on: macos-13
  12. steps:
  13. # Uncomment to manually select Xcode version if needed
  14. - name: Select Xcode version
  15. run: "sudo xcode-select --switch /Applications/Xcode_15.0.1.app/Contents/Developer"
  16. # Checks-out the repo
  17. - name: Checkout Repo
  18. uses: actions/checkout@v3
  19. # Patch Fastlane Match to not print tables
  20. - name: Patch Match Tables
  21. run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d"
  22. # Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
  23. - name: Sync clock
  24. run: sudo sntp -sS time.windows.com
  25. # Create or update identifiers for app
  26. - name: Fastlane Provision
  27. run: fastlane identifiers
  28. env:
  29. TEAMID: ${{ secrets.TEAMID }}
  30. GH_PAT: ${{ secrets.GH_PAT }}
  31. MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
  32. FASTLANE_KEY_ID: ${{ secrets.FASTLANE_KEY_ID }}
  33. FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }}
  34. FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }}