From cfea79ccdfab2f40fb44b3da66eadd6d28acf7c8 Mon Sep 17 00:00:00 2001 From: Rafael Bey <24432403+rafaelbey@users.noreply.github.com> Date: Wed, 18 Oct 2023 10:22:44 -0400 Subject: [PATCH] Try to use the default github runner Try to use the default github runner --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f220c8d77eb..f93dd7ba280 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ env: CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }} CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - MAVEN_OPTS: "-Xmx6g" + MAVEN_OPTS: "-Xmx4g" on: [push, pull_request] @@ -36,7 +36,7 @@ jobs: # Also, skip this build for release commits if: "!contains(github.event.head_commit.message, '[maven-release-plugin]') && github.repository == 'finos/legend-engine'" # NOTE: larger runner is required to run this build - runs-on: ubuntu-latest-4-cores + runs-on: ubuntu-latest steps: - name: Checkout repo @@ -72,7 +72,7 @@ jobs: if: github.ref != 'refs/heads/master' run: | mvn -B -e -DskipTests=true install - mvn -B -e surefire:test -DargLine="-XX:MaxRAMPercentage=70.0" -Dsurefire.reports.directory=${GITHUB_WORKSPACE}/surefire-reports-aggregate + mvn -B -e surefire:test -DargLine="-Xmx4g" -Dsurefire.reports.directory=${GITHUB_WORKSPACE}/surefire-reports-aggregate - name: Build + Test + Maven Deploy + Sonar + Docker Snapshot if: github.ref == 'refs/heads/master' @@ -87,7 +87,7 @@ jobs: # See https://github.com/finos/legend-engine/pull/924 run: | mvn -B -e -DskipTests=true deploy -P docker-snapshot,sonar - mvn -B -e surefire:test -DargLine="-XX:MaxRAMPercentage=70.0" -Dsurefire.reports.directory=${GITHUB_WORKSPACE}/surefire-reports-aggregate + mvn -B -e surefire:test -DargLine="-Xmx4g" -Dsurefire.reports.directory=${GITHUB_WORKSPACE}/surefire-reports-aggregate - name: Upload Test Results if: always()