Skip to content

fix: opintopolku-user-details-service/pom.xml to reduce vulnerabilities #85

fix: opintopolku-user-details-service/pom.xml to reduce vulnerabilities

fix: opintopolku-user-details-service/pom.xml to reduce vulnerabilities #85

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