Skip to content

Commit

Permalink
Update codeql.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
f11h committed Aug 4, 2022
1 parent 994f7b8 commit 2bd10a1
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,24 @@ jobs:
with:
languages: ${{ matrix.language }}

# - name: Autobuild
# uses: github/codeql-action/autobuild@v2
- name: Setup Java 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: adopt

- name: Build
run: >-
mvn clean package
--batch-mode
--file ./pom.xml
--settings ./settings.xml
--define app.packages.username="${APP_PACKAGES_USERNAME}"
--define app.packages.password="${APP_PACKAGES_PASSWORD}"
-DskipTests=true;
env:
APP_PACKAGES_USERNAME: ${{ github.actor }}
APP_PACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

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

0 comments on commit 2bd10a1

Please sign in to comment.