Skip to content

BAH-3266 | Siva Reddy | Fetching concepts from default locale if no c… #250

BAH-3266 | Siva Reddy | Fetching concepts from default locale if no c…

BAH-3266 | Siva Reddy | Fetching concepts from default locale if no c… #250

Workflow file for this run

name: Build and Publish package
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build-publish-package:
name: Build and Publish package
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: nexus-sonatype
server-username: NEXUS_USERNAME
server-password: NEXUS_PASSWORD
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
- name: Install compass
run: |
sudo gem install compass -v 1.0.3
- name: Build and deploy with Maven
run: ./mvnw --no-transfer-progress clean -U deploy
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}