Skip to content

Commit

Permalink
fixing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dkontyko committed Sep 24, 2023
1 parent 02897b4 commit c2905ea
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main_restpdfformfiller(dev).yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
paths:
- 'FunctionApp/**'
workflow_dispatch:

env:
Expand All @@ -12,14 +14,12 @@ env:
JAVA_VERSION: '17' # set this to the java version to use

jobs:
changes:
uses: ./.github/workflows/filter-changes.yml

deploy-and-submit-dependencies:
needs: changes
if: ${{ github.event_name == 'workflow_dispatch' || needs.changes.outputs.function-app == 'true' }}
runs-on: windows-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4

- name: Setup Java Sdk ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v3
with:
Expand All @@ -28,7 +28,7 @@ jobs:
cache: maven

- name: 'Restore Project Dependencies Using Mvn'
shell: pwsh # For Linux, use bash
shell: pwsh
run: |
pushd './${{ env.PACKAGE_DIRECTORY }}'
mvn clean package
Expand Down

0 comments on commit c2905ea

Please sign in to comment.