mirror of
https://github.com/bitwarden/android.git
synced 2024-12-26 19:08:32 +03:00
13 lines
482 B
PowerShell
13 lines
482 B
PowerShell
param (
|
|
[Parameter(Mandatory=$true)]
|
|
[string] $method
|
|
)
|
|
|
|
$rootPath = $env:GITHUB_WORKSPACE;
|
|
$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path
|
|
|
|
$exportOptionsPath = "$rootPath/.github/resources/export-options-$method.plist";
|
|
$archivePath = "$homePath/Library/Developer/Xcode/Archives/*/*.xcarchive";
|
|
$exportPath = "$rootPath/bitwarden-export";
|
|
|
|
xcodebuild -exportArchive -archivePath $archivePath -exportPath $exportPath -exportOptionsPlist $exportOptionsPath
|