Skip to content

Commit

Permalink
Download provisioning profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
conradev committed Sep 8, 2024
1 parent 62a5739 commit bef0dc3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/actions/download-profiles/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ runs:
steps:
- shell: bash
run: |
APP_STORE_KEY=$(echo "${{ inputs.app-store-key }}" | jq -sR .)
cat << EOF > api-key.json
{
"key_id": "${{ inputs.app-store-key-id }}",
"issuer_id": "${{ inputs.app-store-key-issuer-id }}",
"key": "${{ inputs.app-store-key }}"
"key": $APP_STORE_KEY
}
EOF
fastlane sigh download_all --api_key_path api-key.json --download_xcode_profiles
fastlane sigh download_all --opt_out_usage --api_key_path api-key.json --download_xcode_profiles
rm -rf api-key.json
6 changes: 6 additions & 0 deletions .github/workflows/build-apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
submodules: recursive
- name: Download Provisioning Profiles
uses: ./.github/actions/download-profiles
with:
app-store-key: ${{ secrets.APPSTORE_KEY }}
app-store-key-id: ${{ secrets.APPSTORE_KEY_ID }}
app-store-key-issuer-id: ${{ secrets.APPSTORE_KEY_ISSUER_ID }}
- name: Import Certificate
uses: ./.github/actions/import-cert
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- aarch64-pc-windows-msvc
runs-on: ${{ matrix.os }}
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_16.0.app/Contents/Developer
CARGO_INCREMENTAL: 0
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
RUST_BACKTRACE: short
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release-apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download Provisioning Profiles
uses: ./.github/actions/download-profiles
with:
app-store-key: ${{ secrets.APPSTORE_KEY }}
app-store-key-id: ${{ secrets.APPSTORE_KEY_ID }}
app-store-key-issuer-id: ${{ secrets.APPSTORE_KEY_ISSUER_ID }}
- name: Import Certificate
uses: ./.github/actions/import-cert
with:
Expand Down

0 comments on commit bef0dc3

Please sign in to comment.