diff --git a/.github/workflows/reusable-revised-its.yml b/.github/workflows/reusable-revised-its.yml index 4f75c9f5ba1..2fdea9cfb53 100644 --- a/.github/workflows/reusable-revised-its.yml +++ b/.github/workflows/reusable-revised-its.yml @@ -76,7 +76,8 @@ jobs: uses: actions/checkout@v3 - name: Setup java - run: export JAVA_HOME=$JAVA_HOME_${{ inputs.build_jdk }}_X64 + run: | + echo "JAVA_HOME=$JAVA_HOME_${{ inputs.build_jdk }}_X64" >> $GITHUB_ENV - name: Restore Maven repository id: maven-restore diff --git a/.github/workflows/reusable-standard-its.yml b/.github/workflows/reusable-standard-its.yml index ea33489cdeb..f2a05a113e3 100644 --- a/.github/workflows/reusable-standard-its.yml +++ b/.github/workflows/reusable-standard-its.yml @@ -63,7 +63,8 @@ jobs: uses: actions/checkout@v3 - name: Setup java - run: export JAVA_HOME=$JAVA_HOME_${{ inputs.runtime_jdk }}_X64 + run: | + echo "JAVA_HOME=$JAVA_HOME_${{ inputs.runtime_jdk }}_X64" >> $GITHUB_ENV - name: Restore Maven repository id: maven-restore diff --git a/.github/workflows/reusable-unit-tests.yml b/.github/workflows/reusable-unit-tests.yml index ca4bd441a90..5e43ccb87d9 100644 --- a/.github/workflows/reusable-unit-tests.yml +++ b/.github/workflows/reusable-unit-tests.yml @@ -54,7 +54,8 @@ jobs: fetch-depth: 0 - name: setup jdk${{ inputs.jdk }} - run: export JAVA_HOME=$JAVA_HOME_${{ inputs.jdk }}_X64 + run: | + echo "JAVA_HOME=$JAVA_HOME_${{ inputs.jdk }}_X64" >> $GITHUB_ENV - name: Restore Maven repository id: maven-restore @@ -98,4 +99,5 @@ jobs: - name: test & coverage env: MAVEN_PROJECTS: ${{ inputs.maven_projects }} - run: ./.github/scripts/unit_tests_script.sh + run: | + ./.github/scripts/unit_tests_script.sh diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index 11f6ec8c903..dbbd8929090 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -53,7 +53,8 @@ jobs: echo "java_version=${jdk:3}" >> $GITHUB_ENV - name: setup ${{ matrix.java }} - run: export JAVA_HOME=$JAVA_HOME_${{ env.java_version }}_X64 + run: | + echo "JAVA_HOME=$JAVA_HOME_${{ env.java_version }}_X64" >> $GITHUB_ENV - name: packaging check run: | @@ -141,12 +142,9 @@ jobs: - name: checkout branch uses: actions/checkout@v3 - - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - cache: maven + - name: setup JDK11 + run: | + echo "JAVA_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV - name: setup node uses: actions/setup-node@v3 diff --git a/.github/workflows/unit-and-integration-tests-unified.yml b/.github/workflows/unit-and-integration-tests-unified.yml index 20025c33654..dd95ecb866a 100644 --- a/.github/workflows/unit-and-integration-tests-unified.yml +++ b/.github/workflows/unit-and-integration-tests-unified.yml @@ -58,8 +58,9 @@ jobs: - name: Checkout branch uses: actions/checkout@v3 - - name: Setup java - run: export JAVA_HOME=$JAVA_HOME_${{ matrix.jdk }}_X64 + - name: setup jdk${{ matrix.jdk }} + run: | + echo "JAVA_HOME=$JAVA_HOME_${{ matrix.jdk }}_X64" >> $GITHUB_ENV - name: Cache Maven m2 repository id: maven