Skip to content

fixing lint 1

fixing lint 1 #21

Workflow file for this run

name: Push
on:
push:
branches: ["modularisasi"]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "This job is running on a ${{ runner.os }} server hosted by GitHub!"
- uses: actions/checkout@v3
- run: echo "The ${{ github.repository }} repository has been cloned."
- run: echo "Setting up JDK"
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "temurin"
cache: gradle
- run: echo "The workflow is now ready to test your code."
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- run: echo "Building Debug APK."
- name: Build with Gradle
run: ./gradlew build
- name: Build Debug APK
run: ./gradlew assembleDebug
- name: Build Release APK
run: ./gradlew assembleRelease
- name: Upload Debug APK
uses: actions/upload-artifact@v3
with:
name: app-debug.apk
path: app/build/outputs/apk/debug/app-debug.apk
- name: Upload Release APK
uses: actions/upload-artifact@v3
with:
name: app-release-unsigned.apk
path: app/build/outputs/apk/release/app-release-unsigned.apk
- run: echo "Build status report=${{ job.status }}."