Skip to content

CPN arc successor and predecessor issue - fix 2081357 (#180) #454

CPN arc successor and predecessor issue - fix 2081357 (#180)

CPN arc successor and predecessor issue - fix 2081357 (#180) #454

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- 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: Install xvfb
run: |
sudo apt-get install -y xvfb
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
#Run in xvfb buffer, https://jxbrowser-support.teamdev.com/docs/guides/x-server-in-headless-linux.html
run: xvfb-run --server-args="-screen 0 800x600x24+32" ./gradlew -Djava.awt.headless=false build
- 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