Louis Vallat
0e582ceaec
All checks were successful
Build and test program / Build and test (push) Successful in 19s
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
23 lines
656 B
YAML
23 lines
656 B
YAML
name: "Build and test program"
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
name: "Build and test"
|
|
runs-on: java-bookworm
|
|
steps:
|
|
- name: Install gradle
|
|
run: |
|
|
wget https://services.gradle.org/distributions/gradle-8.10-bin.zip
|
|
mkdir /opt/gradle
|
|
unzip -d /opt/gradle gradle-8.10-bin.zip
|
|
echo PATH=$PATH:/opt/gradle/gradle-8.10/bin >> $GITHUB_ENV
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Compile
|
|
run: gradle --build-cache compileJava
|
|
- name: Test
|
|
run: gradle --build-cache check
|
|
- name: Package
|
|
run: gradle --build-cache assemble
|