forked from plantuml/plantuml-stdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (27 loc) · 1.17 KB
/
RunAndCompress.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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)