try unlocking keychain

This commit is contained in:
Kyle Spearrin 2020-06-09 17:32:53 -04:00
parent 8f1db25c5c
commit dc374c7ce9
2 changed files with 6 additions and 0 deletions

View file

@ -4,6 +4,10 @@
[string] $platform = "iPhone" [string] $platform = "iPhone"
) )
security default-keychain -s build.keychain
security unlock-keychain -p $env:KEYCHAIN_PASSWORD build.keychain
security set-key-partition-list -S apple-tool:,apple: -s -k $env:KEYCHAIN_PASSWORD build.keychain
$rootPath = $env:GITHUB_WORKSPACE; $rootPath = $env:GITHUB_WORKSPACE;
$iosPath = $($rootPath + "/src/iOS/iOS.csproj"); $iosPath = $($rootPath + "/src/iOS/iOS.csproj");

View file

@ -158,3 +158,5 @@ jobs:
- name: Build for App Store - name: Build for App Store
run: ./.github/scripts/ios/build.ps1 -configuration AppStore -platform iPhone run: ./.github/scripts/ios/build.ps1 -configuration AppStore -platform iPhone
shell: pwsh shell: pwsh
env:
KEYCHAIN_PASSWORD: ${{ secrets.IOS_KEYCHAIN_PASSWORD }}