Skip to content

Merge pull request #17 from USED255/dependabot/github_actions/actions… #42

Merge pull request #17 from USED255/dependabot/github_actions/actions…

Merge pull request #17 from USED255/dependabot/github_actions/actions… #42

Workflow file for this run

name: Android CI
on:
workflow_dispatch:
push:
branches:
- "master"
paths:
- "**/*.xml"
- "**/*.java"
- "**/*.gradle"
- ".github/workflows/android.yml"
pull_request:
paths:
- "**/*.xml"
- "**/*.java"
- "**/*.gradle"
- ".github/workflows/android.yml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
path: |
app/build/outputs/apk/debug/app-debug.apk
app/build/outputs/apk/release/app-release-unsigned.apk