Skip to content

Merge pull request #204 from project-husky/ch-emed-epr/75 #8

Merge pull request #204 from project-husky/ch-emed-epr/75

Merge pull request #204 from project-husky/ch-emed-epr/75 #8

# this workflow will deploy SNAPSHOT on pushes to develop branch
name: Java CI with Maven
on:
push:
branches: [ develop, develop-3.x ]
jobs:
build:
name: Deploy SNAPSHOT
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'java' ]
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build and test with Maven
env:
ARTF_USER: ${{ secrets.ARTF_USER }}
ARTF_PASS: ${{ secrets.ARTF_PASS }}
run: mvn clean install deploy --batch-mode --no-transfer-progress --file pom.xml -s $GITHUB_WORKSPACE/settings.xml