From 68a173236f18c9d597a28005daec45c9a06ba2dd Mon Sep 17 00:00:00 2001 From: Federico Maccaroni Date: Fri, 15 Mar 2024 12:34:07 -0300 Subject: [PATCH] Fix FDROID trackers removal by changing publish to build to see if doing this it adds the corresponding CustomConstants --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 87d3d36d2..5ef15756a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -396,7 +396,7 @@ jobs: Write-Output "##### Sign FDroid" $signingFdroidKeyStore = "$($env:GITHUB_WORKSPACE)\${{ env.android_folder_path }}\app_fdroid-keystore.jks" - dotnet publish $projToBuild -c Release -f ${{ env.target-net-version }}-android ` + dotnet build $projToBuild -c Release -f ${{ env.target-net-version }}-android ` /p:AndroidKeyStore=true ` /p:AndroidSigningKeyStore=$signingFdroidKeyStore ` /p:AndroidSigningKeyAlias=bitwarden ` @@ -406,7 +406,7 @@ jobs: Write-Output "##### Copy FDroid apk to project root" - $signedApkPath = "$($env:GITHUB_WORKSPACE)\${{ env.main_app_folder_path }}\bin\Release\${{ env.target-net-version }}-android\publish\$($packageName)-Signed.apk"; + $signedApkPath = "$($env:GITHUB_WORKSPACE)\${{ env.main_app_folder_path }}\bin\Release\${{ env.target-net-version }}-android\$($packageName)-Signed.apk"; $signedApkDestPath = "$($env:GITHUB_WORKSPACE)\com.x8bit.bitwarden-fdroid.apk"; Copy-Item $signedApkPath $signedApkDestPath