Download provisioning profiles in release pipeline

This commit is contained in:
Conrad Kramer 2024-09-07 17:08:02 -07:00
parent 62a5739d86
commit fa1ef6fcda
4 changed files with 22 additions and 18 deletions

View file

@ -12,11 +12,8 @@ inputs:
archive-path:
description: Xcode archive path
required: true
destination:
description: The Xcode export destination. This can either be "export" or "upload"
required: true
method:
description: The Xcode export method. This can be one of app-store, validation, ad-hoc, package, enterprise, development, developer-id, or mac-application.
export-options:
description: The export options in JSON format
required: true
export-path:
description: The path to export the archive to
@ -29,8 +26,7 @@ runs:
run: |
echo "${{ inputs.app-store-key }}" > AuthKey_${{ inputs.app-store-key-id }}.p8
echo '{"destination":"${{ inputs.destination }}","method":"${{ inputs.method }}"}' \
| plutil -convert xml1 -o ExportOptions.plist -
echo '${{ inputs.export-options }}' | plutil -convert xml1 -o ExportOptions.plist -
xcodebuild \
-exportArchive \