Skip to content

Merge pull request #50 from szymmirr/snyk-fix-f99258d94fa0afee7bae0e9… #91

Merge pull request #50 from szymmirr/snyk-fix-f99258d94fa0afee7bae0e9…

Merge pull request #50 from szymmirr/snyk-fix-f99258d94fa0afee7bae0e9… #91

Workflow file for this run

name: Build Maven App
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: client-manager-artifact
path: target/Trui-0.0.1-SNAPSHOT.war
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@v4