Skip to content

Commit

Permalink
Retrieving back the separate build process
Browse files Browse the repository at this point in the history
  • Loading branch information
shaiksphere committed Oct 10, 2023
1 parent a636d01 commit b6551e5
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@

name: "CodeQL"

on: [push]
on:
push:
branches: [ main ]

jobs:
analyze:
Expand All @@ -26,23 +28,13 @@ jobs:
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '20'
distribution: 'temurin'
cache: maven

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: 'java'

- name: Build with Maven
run: mvn clean package
uses: ./.github/workflows/build.yml

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit b6551e5

Please sign in to comment.