Skip to content

Bump com.squareup.okio:okio from 3.9.0 to 3.9.1 (#413) #1084

Bump com.squareup.okio:okio from 3.9.0 to 3.9.1 (#413)

Bump com.squareup.okio:okio from 3.9.0 to 3.9.1 (#413) #1084

Workflow file for this run

# 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/