Skip to content

REFACTOR: Addition of StemNodes to capture SuffixExtensions (#8) #15

REFACTOR: Addition of StemNodes to capture SuffixExtensions (#8)

REFACTOR: Addition of StemNodes to capture SuffixExtensions (#8) #15

Workflow file for this run

name: Build and Publish
on:
pull_request:
push:
branches:
- main
jobs:
build-and-publish:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 17
cache: gradle
- name: spotless
run: ./gradlew --no-daemon --parallel clean spotlessCheck
- name: Build with Gradle
run: ./gradlew build
- name: Publish to Artifactory
uses: gradle/gradle-build-action@v2
if: contains('refs/heads/release-', github.ref) || github.ref == 'refs/heads/main'
env:
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER}}
ARTIFACTORY_KEY: ${{ secrets.BESU_ARTIFACTORY }}
with:
arguments: --no-daemon --parallel publish artifactoryPublish --scan