From 2eae707139f8c785af4d124d6a422febe00e6b2d Mon Sep 17 00:00:00 2001 From: jigar-f <132374182+jigar-f@users.noreply.github.com> Date: Wed, 8 Jan 2025 20:35:38 +0530 Subject: [PATCH] Fix Android CI (#1283) * Runs only platform depending on tag * update workflow to my branch. * Update release.yml * Do not push build to repo. * Use if at job level. * Change runs on. * Try to trigger Beta build. * Update release.yml * add steps for debugging. * Hide download steps * Update release.yml * Change if value. * Use ID. * Update needs. * Fix job name. * More debugging info. * More debug. * Testing. * Test new values. * back to originally CI * Remove platform. * Remove my branch. --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d02e79a52..9e9eb18a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: echo "Platform determined: android" echo "platform=android" >> "$GITHUB_OUTPUT" elif [[ $TAG == desktop-* ]]; then - echo "Platform determined: macos" + echo "Platform determined: desktop" echo "platform=desktop" >> "$GITHUB_OUTPUT" else echo "Platform determined: all (tag did not match specific platforms)" @@ -118,7 +118,7 @@ jobs: push-binaries: runs-on: ubuntu-latest - needs: [ set-version, build ] + needs: [ determine-platform,set-version, build ] env: version: ${{ needs.set-version.outputs.version }} prefix: ${{ needs.set-version.outputs.prefix }} @@ -166,6 +166,7 @@ jobs: with: name: mapping.txt + - name: Upload Lantern to TestFlight uses: apple-actions/upload-testflight-build@v1 if: (needs.set-version.outputs.prefix == 'lantern-installer-preview'|| needs.set-version.outputs.prefix == 'lantern-installer') && (needs.determine-platform.outputs.platform == 'ios' || needs.determine-platform.outputs.platform == 'all') @@ -194,8 +195,8 @@ jobs: packageName: org.getlantern.lantern releaseFiles: lantern-installer.aab track: production - debugSymbols: ${{ github.workspace }}/build/outputs/debug-symbols/debug-symbols.zip - mappingFile: ${{ github.workspace }}/build/app/outputs/mapping/prodPlay/mapping.txt + debugSymbols: debug-symbols.zip + mappingFile: mapping.txt - name: Grant private modules access run: git config --global url."https://${{ secrets.CI_PRIVATE_REPOS_GH_TOKEN }}:x-oauth-basic@github.com/".insteadOf "https://github.com/"