Skip to content

Triggers: Implement EntityDamage and EntityDeath #520

Triggers: Implement EntityDamage and EntityDeath

Triggers: Implement EntityDamage and EntityDeath #520

Workflow file for this run

name: build
on:
push:
branches:
- "**"
pull_request:
jobs:
build:
name: Build
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'gradle/*.versions.toml') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build
run: ./gradlew --no-daemon build -Pfull
- name: Get Short SHA
id: sha
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Flatten Output Directory
run: |
mkdir temp-dir
cp build/libs/* temp-dir
cp build/generated/ksp/main/resources/* temp-dir
- name: Publish Artifacts
uses: actions/upload-artifact@v4
with:
name: ChatTriggers-artifacts-${{ steps.sha.outputs.sha_short }}
path: temp-dir