Skip to content

Minor code cleanup in AnnotateNovelSites #690

Minor code cleanup in AnnotateNovelSites

Minor code cleanup in AnnotateNovelSites #690

Workflow file for this run

name: Github Actions CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
name: Gradle Build/Test
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: |
java -version;
./gradlew build;
./gradlew check;
./gradlew shadowJar -Drelease=${{startsWith(github.ref, 'refs/tags/v')}};
./gradlew toolDoc -Drelease=${{startsWith(github.ref, 'refs/tags/v')}};
ls build/libs
- name: Check JAR
run: |
java -version
java -jar build/libs/DISCVRSeq-unspecified-SNAPSHOT.jar -h