diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index 978d3415..e1c0f490 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -12,6 +12,7 @@ jobs: MICROSERVICE_NAME: cirras-underwriting-api EXPORT_FILE: CIRRAS_UNDERWRITING_API_swagger.json EXPORT_PATH: cirras-underwriting-api/cirras-underwriting-api-rest-endpoints/target/swagger.json + JAVA_VERSION: 17 build-and-upload-npm-modules: uses: ./.github/workflows/build-npm.yml diff --git a/.github/workflows/build-package.yml b/.github/workflows/build-package.yml index a0e0bafc..573fb9d2 100644 --- a/.github/workflows/build-package.yml +++ b/.github/workflows/build-package.yml @@ -29,6 +29,10 @@ on: required: false type: string default: "150" + JAVA_VERSION: + required: false + type: string + default: "8" env: DIRECTORY_SUFFIX: ${{ contains(inputs.MICROSERVICE_NAME, '-api') && '-rest-endpoints' || '' }} @@ -49,7 +53,7 @@ jobs: - name: Set up JDK 8 uses: actions/setup-java@v3 with: - java-version: '8' + java-version: ${{ inputs.JAVA_VERSION }} distribution: 'adopt' - name: Set up nodejs