diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 36cf669..503000c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -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: diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index bd63d04..7bbfdda 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -36,4 +36,10 @@ jobs: popd - name: Build with Maven - run: mvn -B package --file ${{ env.PACKAGE_DIRECTORY }}/pom.xml \ No newline at end of file + 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 \ No newline at end of file