Skip to content

OPHYK-356 remove unused dependencies and bump versions for relevant d… #90

OPHYK-356 remove unused dependencies and bump versions for relevant d…

OPHYK-356 remove unused dependencies and bump versions for relevant d… #90

Workflow file for this run

name: java-utils
on:
workflow_dispatch:
release:
types: [ created ]
push:
paths-ignore:
- '**.md'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
cache: 'maven'
- name: Build
run: mvn clean package
- name: Deploy
if: ${{ success() && format('refs/heads/{0}', github.event.repository.default_branch) == github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn deploy --batch-mode -DskipTests