Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

name: Android CI
on:
push:
branches: ["main"]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Setting JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: memberikan Perizinan gradlew
run: chmod +x gradlew
- name: Build debug Apk
run: bash ./gradlew assembleDebug --stacktrace
- name: Upload Ke dalam Artifact
uses: actions/[email protected]
with:
name: 4LayT3xt
path: ./app/build/outputs/apk/debug/app-debug.apk