Skip to content

Merge pull request #3 from hk-kiran/services #11

Merge pull request #3 from hk-kiran/services

Merge pull request #3 from hk-kiran/services #11

Workflow file for this run

name: Java CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build
run: mvn -B package --file pom.xml
- name: Test
run: mvn --batch-mode --update-snapshots verify
- name: Setup for Packaging
run: mkdir staging && cp target/*.jar staging
- name: Create Artifacts
uses: actions/upload-artifact@v3
with:
name: Package
path: staging