Skip to content

Fix actions branch

Fix actions branch #4

Workflow file for this run

name: Debug Build
on:
push:
branches:
- master
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
submodules: true
- name: Set up Java 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'adopt'
cache: gradle
- name: Grant execution permission to Gradle Wrapper
run: chmod +x gradlew
- name: Build Debug App
run: ./gradlew assembleDebug
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
with:
name: EasyNotes-debug.apk
path: app/build/outputs/apk/debug/app-debug.apk