Bump androidx.fragment:fragment-ktx from 1.8.4 to 1.8.5 (#427) #1120
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
# Workflow name | |
name: Build app | |
on: | |
# Trigger on every pull request and on push | |
# to the `main` branch. | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: | |
pull-requests: write | |
# Where will they run | |
jobs: | |
build: | |
name: Generate APK | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
- name: Extract GOOGLE_SERVICES_JSON | |
shell: bash | |
env: | |
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }} | |
run: | | |
echo "$GOOGLE_SERVICES_JSON" | base64 --decode > app/google-services.json | |
- name: Setup JDK - Temurin 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
add-job-summary-as-pr-comment: always | |
- name: Build APK | |
run: > | |
./gradlew | |
--stacktrace | |
:app:assembleDebug | |
- name: Check code format and dependencies | |
run: > | |
./gradlew | |
spotlessCheck | |
dependencyUpdates | |
- name: Upload APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: UnitConverter.apk | |
path: app/build/outputs/apk/debug/app-debug.apk | |
- name: Upload Dependencies report | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dependencyUpdates.txt | |
path: build/dependencyUpdates/report.txt | |
- name: Upload reports on failure | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: reports | |
path: | | |
**/build/reports/ | |
**/build/test-results/ |