From 4a0c3bfa582206e90505a498442b9960c5f88cac Mon Sep 17 00:00:00 2001 From: Marvin Buss Date: Fri, 12 Apr 2024 15:51:54 +0200 Subject: [PATCH] Update workflow --- .github/workflows/_functionAppDeployTemplate.yml | 2 +- .github/workflows/functionApp.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/_functionAppDeployTemplate.yml b/.github/workflows/_functionAppDeployTemplate.yml index cc83ef6..2fe0264 100644 --- a/.github/workflows/_functionAppDeployTemplate.yml +++ b/.github/workflows/_functionAppDeployTemplate.yml @@ -58,7 +58,7 @@ jobs: python-version: ${{ inputs.python_version }} cache: "pip" cache-dependency-path: | - code/function/requirements.txt + ${{ inputs.function_directory }}/requirements.txt # Install Function Dependencies - name: Resolve Function Dependencies diff --git a/.github/workflows/functionApp.yml b/.github/workflows/functionApp.yml index c1439f4..e27cbaa 100644 --- a/.github/workflows/functionApp.yml +++ b/.github/workflows/functionApp.yml @@ -8,6 +8,7 @@ on: - "code/durablefunction/**" - "tests/**" - "requirements.txt" + - ".github/workflows/_functionAppDeployTemplate.yml" pull_request: branches: @@ -17,6 +18,7 @@ on: - "code/durablefunction/**" - "tests/**" - "requirements.txt" + - ".github/workflows/_functionAppDeployTemplate.yml" jobs: # function_test: