Skip to content

Commit

Permalink
updating GitHub Actions for new folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
dkontyko committed Sep 23, 2023
1 parent 195ee4f commit 31b6de8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@ name: "CodeQL"
on:
push:
branches: [ main ]
paths:
- 'FunctionApp/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
paths:
- 'FunctionApp/**'
schedule:
- cron: '29 3 * * 2'

env:
JAVA_VERSION: '17'
PACKAGE_DIRECTORY: 'FunctionApp'

jobs:
analyze:
Expand Down Expand Up @@ -53,7 +58,7 @@ jobs:
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# 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: Build project
Expand All @@ -74,7 +79,7 @@ jobs:
mvn clean package
popd
- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B package --file FunctionApp/pom.xml

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/main_restpdfformfiller(dev).yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ on:
push:
branches:
- main
paths:
- 'FunctionApp/**'
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_NAME: restpdfformfiller # set this to your function app name on Azure
PACKAGE_DIRECTORY: '.' # set this to the directory which contains pom.xml file
PACKAGE_DIRECTORY: 'FunctionApp' # set this to the directory which contains pom.xml file
JAVA_VERSION: '17' # set this to the java version to use

jobs:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ name: Java CI with Maven
on:
pull_request:
branches: [ main ]
paths:
- 'FunctionApp/**'
workflow_dispatch:

env:
PACKAGE_DIRECTORY: '.' # set this to the directory which contains pom.xml file
PACKAGE_DIRECTORY: 'FunctionApp' # set this to the directory which contains pom.xml file
JAVA_VERSION: '17' # set this to the java version to use

jobs:
Expand Down

0 comments on commit 31b6de8

Please sign in to comment.