Intellibeam Laserstation and captcha codes #893
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: | |
push: | |
branches: | |
- '1.19' | |
- 'upcoming-content' | |
pull_request: | |
branches: | |
- '1.19' | |
- 'upcoming-content' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Validate Gradle wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Gradle Build | |
timeout-minutes: 20 | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build | |
- name: Data Generation | |
timeout-minutes: 5 | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: :runData | |
- name: Detect Changes | |
id: changes | |
uses: ch4rl3x/has-changes-action@3058353091eb04bf2c56876af42fd5a286b41faa | |
- name: Did runData create changes? | |
if: steps.changes.outputs.changed == 1 | |
run: | | |
echo "Files were changed after running runData. Make sure to run runData and commit changes!" | |
git status --porcelain | |
exit 1 |