fix build #250
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically build the project for every push and submitted pull request. | |
name: build | |
on: [pull_request, push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
- name: validate gradle wrapper | |
uses: gradle/actions/wrapper-validation@v3 | |
- name: setup jdk | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: build | |
run: ./gradlew build | |
- name: upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Artifacts | |
path: build/libs/ |