Add option to apply cooldowns to multiple categories #159
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 Gradle | |
on: | |
push: | |
branches: [ "v*/master" ] | |
pull_request: | |
branches: [ "v*/master" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- id: commit | |
uses: pr-mpt/actions-commit-hash@v2 | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: -Pversion=dev-${{ steps.commit.outputs.short }} check :waypoints:shadowJar | |
- name: Save produced plugin Jar | |
uses: actions/upload-artifact@v3 | |
with: | |
name: plugin | |
path: waypoints/build/libs/waypoints-*.jar | |
retention-days: 7 |