GH-120 Add suport for event API. Add tagout - command to prevent combat log for a set duration #400
Workflow file for this run
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: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Cache Gradle | |
uses: actions/cache@v3.3.1 | |
with: | |
path: ~/.gradle/caches | |
key: >- | |
${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', | |
'**/gradle-wrapper.properties') }} | |
restore-keys: '${{ runner.os }}-gradle-' | |
- name: Make gradlew executable | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@e3426b1f20c7262e0fed7b855aae1325633af3b4 | |
with: | |
arguments: shadowJar | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v3.1.2 | |
with: | |
name: 'Successfully build EternalCombat' | |
path: build/libs/*.jar |