Skip to content

Update dependency org.sonarsource.scanner.maven:sonar-maven-plugin to v5 #179

Update dependency org.sonarsource.scanner.maven:sonar-maven-plugin to v5

Update dependency org.sonarsource.scanner.maven:sonar-maven-plugin to v5 #179

Workflow file for this run

name: Check Build
on:
workflow_dispatch:
push:
branches: [ develop ]
paths-ignore:
- '**.md'
pull_request:
branches: [ develop ]
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup - Java
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
- name: Setup - Restore Cache
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-:
- name: Build - Maven Package
run: mvn -B clean package -DskipTests
- name: Test - Maven Verify
run: mvn -B clean verify
- name: Upload snupkg - Upload asset
uses: actions/upload-artifact@v4
with:
name: javgent-standalone
path: ./target/javgent-standalone.jar
if-no-files-found: error