Skip to content

Java Run (with Gradle) and Compress (with Brotli) #2

Java Run (with Gradle) and Compress (with Brotli)

Java Run (with Gradle) and Compress (with Brotli) #2

# This workflow will run a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Java Run (with Gradle) and Compress (with Brotli)
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
run-compress:
name: Run and Compress
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
- name: Setup Gradle
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
- name: Run with Gradle
run: gradle run
- name: Give Brotli version
run: brotli -V
- name: Generate Output
run: perl script/generateOutput.pl
- name: Commit the changes, if any
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Auto-generated (update output with latest stdlib)