diff --git a/.github/workflows/generate_api_pages.yml b/.github/workflows/generate_api_pages.yml index d2293634..b1892c66 100644 --- a/.github/workflows/generate_api_pages.yml +++ b/.github/workflows/generate_api_pages.yml @@ -1,5 +1,8 @@ name: generate api pages on: + push: + branches: + - fix/workflow-with-java-version-set workflow_dispatch: inputs: tag: @@ -24,6 +27,12 @@ jobs: - name: Install swagger-codegen run: brew install swagger-codegen + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + - name: Npm install run: npm install