Revert menu item change #500
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Management | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
update_draft_release: | |
runs-on: macos-latest | |
steps: | |
- uses: release-drafter/release-drafter@v6 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
submit-release: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
- name: Decrypt secrets | |
run: ./release/decrypt-secrets.sh | |
env: | |
ENCRYPT_KEY: ${{ secrets.ENCRYPT_KEY }} | |
- name: Generate build number | |
run: echo "BUILD_NUMBER=${{github.run_number}}" > release/build_number.properties | |
- name: Build Release | |
run: ./gradlew app:bundleRelease app-tv:bundleRelease --stacktrace | |
- name: Publish to Internal track | |
uses: r0adkll/[email protected] | |
with: | |
serviceAccountJson: release/play-account.json | |
packageName: com.cryart.sabbathschool | |
track: internal | |
status: completed | |
whatsNewDirectory: distribution/whatsnew | |
releaseFiles: app/build/outputs/bundle/release/app-release.aab | |
mappingFile: app/build/outputs/mapping/release/mapping.txt | |
- name: Publish to TV Internal track | |
uses: r0adkll/[email protected] | |
with: | |
serviceAccountJson: release/play-account.json | |
packageName: com.cryart.sabbathschool | |
track: tv:internal | |
status: completed | |
whatsNewDirectory: distribution/whatsnew | |
releaseFiles: app-tv/build/outputs/bundle/release/app-tv-release.aab | |
mappingFile: app-tv/build/outputs/mapping/release/mapping.txt |