⬆ Update compose to v1.7.5 #191
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
# This file was generated using Kotlin DSL (.github/workflows/build-release.main.kts). | |
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file. | |
# Generated with https://github.com/typesafegithub/github-workflows-kt | |
name: 'Build Universal Release APK' | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
check_yaml_consistency: | |
name: 'Check YAML consistency' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- id: 'step-0' | |
name: 'Check out' | |
uses: 'actions/checkout@v4' | |
- id: 'step-1' | |
name: 'Execute script' | |
run: 'rm ''.github/workflows/build-release.yaml'' && ''.github/workflows/build-release.main.kts''' | |
- id: 'step-2' | |
name: 'Consistency check' | |
run: 'git diff --exit-code ''.github/workflows/build-release.yaml''' | |
build: | |
runs-on: 'ubuntu-latest' | |
needs: | |
- 'check_yaml_consistency' | |
steps: | |
- id: 'step-0' | |
name: 'Set up JDK' | |
uses: 'actions/setup-java@v4' | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- id: 'step-1' | |
uses: 'actions/checkout@v4' | |
- id: 'step-2' | |
name: 'reveal-secrets' | |
uses: 'entrostat/git-secret-action@v4' | |
with: | |
gpg-private-key: '${{ secrets.GPG_KEY }}' | |
- id: 'step-3' | |
name: 'Create Fdroid APK' | |
uses: 'gradle/gradle-build-action@v3' | |
with: | |
arguments: 'assembleFdroidRelease' | |
- id: 'step-4' | |
name: 'Create Playstore APK' | |
uses: 'gradle/gradle-build-action@v3' | |
with: | |
arguments: 'assemblePlaystoreRelease' | |
- id: 'step-5' | |
name: 'Create Github APK' | |
uses: 'gradle/gradle-build-action@v3' | |
with: | |
arguments: 'assembleGithubRelease' |