From e9ad636584daea85506acb2ee55afbb83e62b260 Mon Sep 17 00:00:00 2001 From: Nindi Gill Date: Sun, 11 Feb 2024 17:14:07 +1100 Subject: [PATCH] Fix GHA --- .github/workflows/build.yml | 2 ++ .github/workflows/draft_new_release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8905eb3..c0e460c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,6 +32,8 @@ jobs: security import "$CERTIFICATE_PATH" -P "$APPLE_DEVELOPER_ID_APPLICATION_CERTIFICATE_PASSWORD" -A -t cert -f pkcs12 -k "$KEYCHAIN_PATH" security import "$CERTIFICATE_AUTHORITY_PATH" -P "$APPLE_DEVELOPER_ID_APPLICATION_CERTIFICATE_PASSWORD" -A -t cert -f pkcs7 -k "$KEYCHAIN_PATH" security list-keychain -d user -s "$KEYCHAIN_PATH" + - name: Select Xcode version + run: sudo xcode-select --switch "/Applications/Xcode_15.2.app" - name: Archive Mist run: xcodebuild -scheme Mist clean archive -configuration release -archivePath Mist -quiet - name: Export Mist diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml index 631f3d1..c4af182 100644 --- a/.github/workflows/draft_new_release.yml +++ b/.github/workflows/draft_new_release.yml @@ -35,6 +35,8 @@ jobs: security import "$APPLE_DEVELOPER_ID_INSTALLER_CERTIFICATE_PATH" -P "$APPLE_DEVELOPER_ID_INSTALLER_CERTIFICATE_PASSWORD" -A -t cert -f pkcs12 -k "$RUNNER_TEMP/$KEYCHAIN_FILE" security import "$APPLE_DEVELOPER_CERTIFICATE_AUTHORITY_PATH" -P "$APPLE_DEVELOPER_CERTIFICATE_PASSWORD" -A -t cert -f pkcs7 -k "$RUNNER_TEMP/$KEYCHAIN_FILE" security list-keychain -d user -s "$RUNNER_TEMP/$KEYCHAIN_FILE" + - name: Select Xcode version + run: sudo xcode-select --switch "/Applications/Xcode_15.2.app" - name: Archive Mist run: xcodebuild -scheme Mist clean archive -configuration release -archivePath Mist -quiet - name: Export Mist