Skip to content

Create it_it.json

Create it_it.json #467

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: CI
on:
push:
branches: [ all-in-one ]
pull_request:
branches: [ all-in-one ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Install Pandoc and Related
run: wget "https://github.com/jgm/pandoc/releases/download/2.17.0.1/pandoc-2.17.0.1-1-amd64.deb"
- run: sudo dpkg -i pandoc-2.17.0.1-1-amd64.deb
- run: sudo apt-get -f install
- run: pip install --user --upgrade --force panflute==2.0.5
- run: pip install --user pypandoc==1.6.4
- run: pip install --user --no-cache git+https://github.com/DCsunset/pandoc-include@v1.0.0
- name: Create Release Notes
run: pushd .; cd description; python3 build_release_notes.py; popd
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Install AdvZip
run: sudo apt-get install advancecomp
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Grant execute permission for optimize-jar.sh
run: chmod +x optimize-jar.sh
- name: Grant execute permission for do-build.sh
run: chmod +x optimize-jar.sh
- name: Build with Gradle
run: ./do-build.sh
- name: 'Upload Artifact'
uses: actions/upload-artifact@v2
with:
name: dev-build
path: build/libs/*.jar
retention-days: 3
- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties