add_identifiers.yml 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. name: Add Identifiers
  2. on:
  3. workflow_dispatch:
  4. jobs:
  5. identifiers:
  6. runs-on: macos-12
  7. steps:
  8. # Uncomment to manually select latest Xcode if needed
  9. #- name: Select Latest Xcode
  10. # run: "sudo xcode-select --switch /Applications/Xcode_13.0.app/Contents/Developer"
  11. # Checks-out the repo
  12. - name: Checkout Repo
  13. uses: actions/checkout@v3
  14. # Patch Fastlane Match to not print tables
  15. - name: Patch Match Tables
  16. run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d"
  17. # Create or update identifiers for app
  18. - name: Fastlane Provision
  19. run: fastlane identifiers
  20. env:
  21. TEAMID: ${{ secrets.TEAMID }}
  22. GH_PAT: ${{ secrets.GH_PAT }}
  23. MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
  24. FASTLANE_KEY_ID: ${{ secrets.FASTLANE_KEY_ID }}
  25. FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }}
  26. FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }}