Skip to content

Update build.yml

Update build.yml #18

Workflow file for this run

name: Java CI with Maven
concurrency:
group: "maven-build"
cancel-in-progress: true
permissions:
contents: write
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: 21
distribution: 'zulu'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Release
uses: softprops/action-gh-release@v2
with:
tag_name: "latest_1_21"
name: "Caramel Development Build"
body: "Push-ly development build for Caramel."
prerelease: true
files: |
./target/*.jar