Fix bee count payload lag/crash exploit and make it configurable. #1250
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: Build | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- "ver/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.commits[0].message, '[ci-skip]')" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: gradle/wrapper-validation-action@v1 | |
- uses: actions/setup-java@v3.6.0 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: 'gradle' | |
- name: Configure Git | |
run: git config --global user.email "no-reply@github.com" && git config --global user.name "Github Actions" | |
- name: Apply Patches | |
run: ./gradlew applyPatches --no-daemon --stacktrace | |
- name: Build | |
run: ./gradlew build --no-daemon --stacktrace | |
- name: Rebuild on Failure | |
if: ${{ failure() }} | |
run: | | |
./gradlew clean cleanCache | |
./gradlew applyPatches --no-daemon --stacktrace | |
./gradlew build --no-daemon --stacktrace |