Skip to content

Faster builds

Faster builds #32

Workflow file for this run

name: Java CI
on: [push, pull_request]
jobs:
buildJar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up PATH
run: echo "${ANDROID_HOME}/build-tools/34.0.0" >> $GITHUB_PATH
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew deploy
- name: Upload built jar file
uses: actions/upload-artifact@v4
with:
name: FloodCompat
path: build/libs/FloodCompat.jar