mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
move stuff to setup keychain script
This commit is contained in:
parent
e8c1fbb86f
commit
df15fa2f0e
2 changed files with 3 additions and 6 deletions
6
.github/scripts/ios/build.ps1
vendored
6
.github/scripts/ios/build.ps1
vendored
|
@ -4,12 +4,6 @@
|
|||
[string] $platform = "iPhone"
|
||||
)
|
||||
|
||||
#
|
||||
security default-keychain -s build.keychain
|
||||
security unlock-keychain -p $env:KEYCHAIN_PASSWORD build.keychain
|
||||
security set-keychain-settings -lut 1200 build.keychain
|
||||
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $env:KEYCHAIN_PASSWORD build.keychain
|
||||
|
||||
$rootPath = $env:GITHUB_WORKSPACE;
|
||||
$iosPath = $($rootPath + "/src/iOS/iOS.csproj");
|
||||
|
||||
|
|
3
.github/scripts/ios/setup-keychain.ps1
vendored
3
.github/scripts/ios/setup-keychain.ps1
vendored
|
@ -7,5 +7,8 @@ $distCertPath = $($secretsPath + "/iphone-distribution-cert.p12");
|
|||
security create-keychain -p $env:KEYCHAIN_PASSWORD build.keychain
|
||||
security default-keychain -s build.keychain
|
||||
security unlock-keychain -p $env:KEYCHAIN_PASSWORD build.keychain
|
||||
security set-keychain-settings -lut 1200 build.keychain
|
||||
security import $mobileKeyPath -k build.keychain -P $env:MOBILE_KEY_PASSWORD -T /usr/bin/codesign -T /usr/bin/security
|
||||
security import $distCertPath -k build.keychain -P $env:DIST_CERT_PASSWORD -T /usr/bin/codesign -T /usr/bin/security
|
||||
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $env:KEYCHAIN_PASSWORD build.keychain
|
||||
security find-identity -v -p codesigning
|
||||
|
|
Loading…
Reference in a new issue