Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
vikas0105 committed Jan 2, 2025
1 parent 6b0f530 commit f12423e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,32 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4

# Step 2: Initialize CodeQL (v3)
# Step 2: Set up Java 11
- name: Set up Java 11
uses: actions/setup-java@v3
with:
java-version: '11'

# Step 3: Set up Maven
- name: Set up Maven
uses: actions/setup-java@v3
with:
distribution: 'maven'

# Step 4: Initialize CodeQL (v3)
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java

# Step 3: Build the project (required for CodeQL to analyze the codebase)
# Step 5: Build the project (required for CodeQL to analyze the codebase)
- name: Build with Maven
run: mvn clean package

# Step 4: Run CodeQL Analysis (v3)
# Step 6: Run CodeQL Analysis (v3)
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

# Step 5: Set up Java 11
- name: Set up Java 11
uses: actions/setup-java@v3
with:
java-version: '11'

# Step 6: Set up Maven
- name: Set up Maven
uses: actions/setup-java@v3
with:
distribution: 'maven'

# Step 7: Upload the built JAR as an artifact
- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f12423e

Please sign in to comment.