Merge branch 'master' of https://github.com/klashdevelopment/Caramel #39
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: Maven Package & Release | |
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: "[1.1.0 for 1.21] Development Build" | |
body: "Push-ly development build for Caramel. Updated on every push - ignore the 'commits to master since this release', github works weird." | |
prerelease: false | |
files: | | |
./target/*.jar |