Skip to content

Commit

Permalink
adding checkout and artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
dkontyko committed Feb 11, 2024
1 parent ecf15d6 commit ef2632a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,21 @@ jobs:
language: [ 'java-kotlin' ]

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Download artifact
uses: actions/download-artifact@v2
with:
name: FunctionApp
path: ${{ env.PACKAGE_DIRECTORY }}/target/*.jar

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,10 @@ jobs:
popd
- name: Build with Maven
run: mvn -B package --file ${{ env.PACKAGE_DIRECTORY }}/pom.xml
run: mvn -B package --file ${{ env.PACKAGE_DIRECTORY }}/pom.xml

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: FunctionApp
path: ${{ env.PACKAGE_DIRECTORY }}/target/*.jar

0 comments on commit ef2632a

Please sign in to comment.