Skip to content

Commit

Permalink
Fix Android CI (#1283)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
jigar-f authored Jan 8, 2025
1 parent 47cb9a9 commit 2eae707
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -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 }}:[email protected]/".insteadOf "https://github.com/"
Expand Down

0 comments on commit 2eae707

Please sign in to comment.