Add FluidTankInteraction to ItemActionResult conversion #114
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: Validation | |
on: | |
push: | |
pull_request: | |
branches: '**:**' | |
jobs: | |
prep: | |
runs-on: ubuntu-latest | |
name: 'Work' | |
outputs: | |
did_tasks: ${{ steps.tasks.conclusion }} | |
did_license: ${{ steps.license.conclusion }} | |
did_test: ${{ steps.test.conclusion }} | |
did_javadoc: ${{ steps.javadoc.conclusion }} | |
did_build: ${{ steps.build.conclusion }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/[email protected] | |
with: | |
distribution: 'adopt-hotspot' | |
java-version: '21' | |
- id: tasks | |
name: 'Setup' | |
run: './gradlew tasks' | |
- id: 'license' | |
name: 'Check License' | |
run: './gradlew checkLicense' | |
- id: 'test' | |
name: 'Test' | |
run: './gradlew test' | |
- id: 'javadoc' | |
name: 'Javadoc' | |
run: './gradlew javadoc' | |
- id: 'build' | |
name: 'Build' | |
run: './gradlew build' | |
output_tasks: | |
name: 'Check Buildscript' | |
runs-on: ubuntu-latest | |
needs: prep | |
if: always() | |
steps: | |
- name: 'Check Tasks' | |
run: | | |
echo "${{ needs.prep.outputs.did_tasks }}" | |
if [[ ${{ needs.prep.outputs.did_tasks }} != "success" ]]; then | |
echo "Look at the 'Work' job to see what went wrong!" | |
exit 1 | |
fi | |
output_license: | |
name: 'Check License' | |
runs-on: ubuntu-latest | |
needs: [prep, output_tasks] | |
if: always() | |
steps: | |
- name: 'Check License' | |
run: | | |
echo "${{ needs.prep.outputs.did_license }}" | |
if [[ ${{ needs.prep.outputs.did_license }} != "success" ]]; then | |
echo "Look at the 'Work' job to see what went wrong!" | |
exit 1 | |
fi | |
output_test: | |
name: 'Run Tests' | |
runs-on: ubuntu-latest | |
needs: [prep, output_license] | |
if: always() | |
steps: | |
- name: 'Check Test' | |
run: | | |
echo "${{ needs.prep.outputs.did_test }}" | |
if [[ ${{ needs.prep.outputs.did_test }} != "success" ]]; then | |
echo "Look at the 'Work' job to see what went wrong!" | |
exit 1 | |
fi | |
output_javadoc: | |
name: 'Generate Javadoc' | |
runs-on: ubuntu-latest | |
needs: [prep, output_test] | |
if: always() | |
steps: | |
- name: 'Check Javadocs' | |
run: | | |
echo "${{ needs.prep.outputs.did_javadoc }}" | |
if [[ ${{ needs.prep.outputs.did_javadoc }} != "success" ]]; then | |
echo "Look at the 'Work' job to see what went wrong!" | |
exit 1 | |
fi | |
output_build: | |
name: 'Build Jars' | |
runs-on: ubuntu-latest | |
needs: [prep, output_javadoc] | |
if: always() | |
steps: | |
- name: 'Check Build' | |
run: | | |
echo "${{ needs.prep.outputs.did_build }}" | |
if [[ ${{ needs.prep.outputs.did_build }} != "success" ]]; then | |
echo "Look at the 'Work' job to see what went wrong!" | |
exit 1 | |
fi |