Skip to content

Commit

Permalink
Merge pull request #19 from ctownshend/BenchmarkJava
Browse files Browse the repository at this point in the history
Benchmark java
  • Loading branch information
ctownshend committed Aug 5, 2024
2 parents 13545b1 + 858e2d4 commit dee92ad
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@ name: Java CI with Maven

on: [push, pull_request]
env:
SONATYPE_LIFECYCLE_APPLICATION_ID: $(echo "${{ github.repository }}" | cut -d '/' -f2)
SONATYPE_LIFECYCLE_APPLICATION_ID : ${{ github.head_ref || github.ref_name }}
# SONATYPE_LIFECYCLE_APPLICATION_ID: $(echo "${{ github.repository }}" | cut -d '/' -f2)

jobs:
build:

runs-on: ubuntu-latest

steps:

- name: Checkout Benchmark java
uses: actions/checkout@master
with:
repository: OWASP-Benchmark/BenchmarkJava
path: master



- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'zulu'
- name: Run Spotless check
run: mvn spotless:check

- name: Create WAR
run: mvn package
run: mvn clean package

- name: Sonatype Lifecycle Policy Evaluation
uses: sonatype-nexus-community/iq-github-action@v2
with:
Expand Down

0 comments on commit dee92ad

Please sign in to comment.