From 78e0cf53926a9060a559769bd3e40eab16582d22 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 13 Dec 2020 10:43:33 -0500 Subject: [PATCH] ci: use mvn verify phase instead of install Installing the artifacts is not necessary, and currently we have to remove them from the build cache to prevent that from growing too large --- .github/workflows/CI.yml | 3 --- ci/build.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5cdd4871c2..a117224e5f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -27,6 +27,3 @@ jobs: - name: Build run: ./ci/build.sh - - - name: Remove build artifacts - run: rm -rf ~/.m2/repository/net/runelite diff --git a/ci/build.sh b/ci/build.sh index 4fddc5fa14..a809269824 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -15,4 +15,4 @@ if [ ! -f "${GLSLANG_ARCHIVE}" ] || [ ! -d "${GLSLANG_DIR}" ] || ! echo "${GLSLA unzip -o -q "${GLSLANG_ARCHIVE}" -d "${GLSLANG_DIR}" fi -mvn clean install --settings ci/settings.xml -Dglslang.path="${GLSLANG_DIR}/bin/glslangValidator" +mvn verify --settings ci/settings.xml -Dglslang.path="${GLSLANG_DIR}/bin/glslangValidator"