Skip to content

#303 make terminals and nonterminals lists #209

#303 make terminals and nonterminals lists

#303 make terminals and nonterminals lists #209

Workflow file for this run

name: Java CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
- name: Build with Gradle
run: gradle build
- name: Archive production artifacts
uses: actions/upload-artifact@v1
with:
name: CL-Toolbox
path: build/libs/cl-toolbox-0.0.1-SNAPSHOT.jar
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Publish package
uses: gradle/gradle-build-action@v2
with:
arguments: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}