From cdbc5a382efd5e333297ba1c4cccd15b4378adc9 Mon Sep 17 00:00:00 2001 From: Ivan Topolnjak Date: Wed, 7 Aug 2024 16:47:56 +0200 Subject: [PATCH] apply environment variables to ci and lint jobs --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc20e5fbf..241ef000b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,13 +1,12 @@ name: Test all the things - on: [ push, pull_request ] +env: + JAVA_OPTS: -Xms5120M -Xmx5120M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 + JVM_OPTS: -Xms5120M -Xmx5120M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 jobs: ci: runs-on: self-hosted - env: - JAVA_OPTS: -Xms5120M -Xmx5120M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 - JVM_OPTS: -Xms5120M -Xmx5120M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 steps: - uses: actions/checkout@v1 - run: git fetch -f --depth=1 origin '+refs/tags/*:refs/tags/*'