fix(deps): update dependency io.nlopez.compose.rules:ktlint to v0.3.19 #345
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: Push | |
on: | |
pull_request: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Setup signing | |
run: | | |
# Decode keystore and save in expected place | |
echo ${{ secrets.RELEASE_KEYSTORE_BASE64 }} > keystore_base64.txt | |
base64 -d keystore_base64.txt > app/release.jks | |
# Retrieve other secrets and place in expected place | |
touch local.properties | |
echo "RELEASE_STORE_PASSWORD=${{ secrets.RELEASE_STORE_PASSWORD }}" >> local.properties | |
echo "RELEASE_KEY_ALIAS=${{ secrets.RELEASE_KEY_ALIAS }}" >> local.properties | |
echo "RELEASE_KEY_PASSWORD=${{ secrets.RELEASE_KEY_PASSWORD }}" >> local.properties | |
cat local.properties | |
- name: Assemble | |
run: ./gradlew assemble --stacktrace | |
- name: Upload APK (debug) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: apk-debug | |
path: app/build/outputs/apk/debug/app-debug.apk | |
- name: Upload APK (release) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: apk-release | |
path: app/build/outputs/apk/release/app-release.apk |