Updating README.md #15
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
name: Java CI with Maven | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 22 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '22' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build and Test | |
run: mvn clean install --batch-mode -DfailIfNoTests=true | |
- name: Make Jar under release folder | |
run: mvn package | |
- name: Upload JAR File | |
uses: actions/upload-artifact@v3 | |
with: | |
name: NLang-jar | |
path: release/NLang*.jar |