1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-11 05:43:30 +00:00

github action android build steps

This commit is contained in:
Kyle Spearrin
2020-06-08 12:14:10 -04:00
parent c30239b3a8
commit 0a3a982cb9
12 changed files with 262 additions and 5 deletions

View File

@@ -0,0 +1,12 @@
$rootPath = $env:GITHUB_WORKSPACE;
$buildNumber = 3000 + [int]$env:GITHUB_RUN_NUMBER;
$androidManifest = $($rootPath + "\src\Android\Properties\AndroidManifest.xml");
$xml=New-Object XML;
$xml.Load($androidManifest);
$node=$xml.SelectNodes("/manifest");
$node.SetAttribute("android:versionCode", [string]$buildNumber);
$xml.Save($androidManifest);