diff --git a/.github/workflows/ci-low-cadence.yml b/.github/workflows/ci-low-cadence.yml index 647bc2b2e9..9fe39aeddd 100644 --- a/.github/workflows/ci-low-cadence.yml +++ b/.github/workflows/ci-low-cadence.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ '8', '17', '21' ] + java: [ '17', '21' ] os: [ 'ubuntu-22.04', 'windows-latest', 'macos-14' ] steps: - name: Checkout code @@ -67,11 +67,11 @@ jobs: run: | sudo sed -i bak "s/localhost/localhost $(hostname)/" /etc/hosts dscacheutil -flushcache - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 + java-version: 17 - name: Build and Run Slow Tests with Gradle run: ./gradlew slowTest env: @@ -95,7 +95,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ '8', '17', '21' ] + java: [ '17', '21' ] os: [ 'ubuntu-22.04' ] steps: - name: Checkout code @@ -125,11 +125,11 @@ jobs: java -Xinternalversion echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV echo "BUILD_JAVA_VERSION=${{ matrix.java }}" >> $GITHUB_ENV - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 + java-version: 17 - name: Build and Run Javadoc run: ./gradlew javadoc env: @@ -162,16 +162,11 @@ jobs: with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV - echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV + java-version: 17 - name: Install compiler run: | echo 'Acquire::Retries "${INSTALL_COMPILER_RETRIES}";' | sudo tee -a /etc/apt/apt.conf.d/99retries @@ -220,16 +215,11 @@ jobs: with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV - echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV + java-version: 17 - name: Install compiler run: | echo 'Acquire::Retries "${INSTALL_COMPILER_RETRIES}";' | sudo tee -a /etc/apt/apt.conf.d/99retries @@ -276,16 +266,11 @@ jobs: with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV - echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV + java-version: 17 - name: Build run: cppbuild/cppbuild.ps1 --slow-system-tests --no-system-tests --no-unit-tests - name: Copy test logs @@ -328,16 +313,11 @@ jobs: with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV - echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV + java-version: 17 - name: Install compiler run: | echo 'Acquire::Retries "${INSTALL_COMPILER_RETRIES}";' | sudo tee -a /etc/apt/apt.conf.d/99retries @@ -386,16 +366,11 @@ jobs: with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV - echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV + java-version: 17 - name: Install compiler run: | echo 'Acquire::Retries "${INSTALL_COMPILER_RETRIES}";' | sudo tee -a /etc/apt/apt.conf.d/99retries diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ddc16cb31..f81bb17936 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ '8', '17', '21' ] + java: [ '17', '21' ] os: [ 'ubuntu-22.04', 'windows-latest', 'macos-14' ] steps: - name: Checkout code @@ -69,11 +69,11 @@ jobs: java -Xinternalversion echo "BUILD_JAVA_HOME=$env:JAVA_HOME" | Out-File $env:GITHUB_ENV -Encoding utf8 -Append echo "BUILD_JAVA_VERSION=${{ matrix.java }}" | Out-File $env:GITHUB_ENV -Encoding utf8 -Append - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 + java-version: 17 - name: Setup small temp file system (Linux) if: runner.os == 'Linux' run: | @@ -125,7 +125,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ '8' ] + java: [ '17' ] os: [ 'ubuntu-22.04' ] steps: - name: Checkout code @@ -208,16 +208,11 @@ jobs: with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV - echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV + java-version: 17 - name: Install compiler run: | echo 'Acquire::Retries "${INSTALL_COMPILER_RETRIES}";' | sudo tee -a /etc/apt/apt.conf.d/99retries @@ -266,16 +261,11 @@ jobs: with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV - echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV + java-version: 17 - name: Install compiler run: | echo 'Acquire::Retries "${INSTALL_COMPILER_RETRIES}";' | sudo tee -a /etc/apt/apt.conf.d/99retries @@ -372,16 +362,11 @@ jobs: with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV - echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV + java-version: 17 - name: Install compiler run: | echo 'Acquire::Retries "${INSTALL_COMPILER_RETRIES}";' | sudo tee -a /etc/apt/apt.conf.d/99retries @@ -432,16 +417,11 @@ jobs: with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV - echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV + java-version: 17 - name: Install compiler run: | echo 'Acquire::Retries "${INSTALL_COMPILER_RETRIES}";' | sudo tee -a /etc/apt/apt.conf.d/99retries @@ -501,16 +481,11 @@ jobs: with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV - echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV + java-version: 17 - name: Install compiler run: | echo 'Acquire::Retries "${INSTALL_COMPILER_RETRIES}";' | sudo tee -a /etc/apt/apt.conf.d/99retries @@ -557,16 +532,11 @@ jobs: with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV - echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV + java-version: 17 - name: Setup small temp file system and localhost name run: | sudo sed -i bak "s/localhost/localhost $(hostname)/" /etc/hosts @@ -612,16 +582,11 @@ jobs: with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - - name: Setup java 8 to run the Gradle script + - name: Setup java uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=$env:JAVA_HOME" | Out-File $env:GITHUB_ENV -Encoding utf8 -Append - echo "BUILD_JAVA_VERSION=8" | Out-File $env:GITHUB_ENV -Encoding utf8 -Append + java-version: 17 - name: Setup small temp file system run: | $current_size = (Get-PartitionSupportedSize -DiskNumber 1 -PartitionNumber 1) diff --git a/.github/workflows/release-documentation.yml b/.github/workflows/release-documentation.yml index 425bb8c859..950811000f 100644 --- a/.github/workflows/release-documentation.yml +++ b/.github/workflows/release-documentation.yml @@ -18,7 +18,6 @@ jobs: strategy: fail-fast: false matrix: - java: [ '8' ] os: ['ubuntu-22.04' ] steps: - name: Checkout code @@ -41,6 +40,6 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: ${{ matrix.java }} + java-version: 17 - name: Build with Gradle run: ./gradlew tutorialPublish -Paeron.ci.apiKey=${{ secrets.WIKI_PAGE_TOKEN }} --stacktrace diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2cbe61d08..f6e464eb2a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,12 +71,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: 8 - - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION - run: | - java -Xinternalversion - echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV - echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV + java-version: 17 - name: Publish with Gradle run: ./gradlew publish env: