Skip to content

Commit

Permalink
codeql workflow: build when autobuild failed
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gilber committed Oct 28, 2023
1 parent 43aa42b commit 1945c92
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/code-scan-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,17 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
continue-on-error: true
id: autobuild
uses: github/codeql-action/autobuild@v2.22.5

# Note: If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
- name: Build
if: failure() && steps.autobuild.outcome == 'failure'
run: |
mvn clean package -Dmaven.test.skip=true -Ddockerfile.skip
#- run: |
# make bootstrap
# make release
- name: Run CodeQL Analysis
uses: github/codeql-action/analyze@v2.22.5

0 comments on commit 1945c92

Please sign in to comment.