Skip to content

Commit

Permalink
temporary fix , with one temp folder per CI, which is cleaned up anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelchassot committed Dec 11, 2024
1 parent d89c72a commit ce6ac8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/stainless-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
# define Java options for both official sbt and sbt-extras
JAVA_OPTS: -Dsbt.io.implicit.relative.glob.conversion=allow -Xss512M -Xms1024M -Xmx12G -XX:MaxMetaspaceSize=2G -XX:+UseCodeCacheFlushing -XX:ReservedCodeCacheSize=768M
JVM_OPTS: -Dsbt.io.implicit.relative.glob.conversion=allow -Xss512M -Xms1024M -Xmx12G -XX:MaxMetaspaceSize=2G -XX:+UseCodeCacheFlushing -XX:ReservedCodeCacheSize=768M
JAVA_OPTS_TMP_DIR: /tmp_${{ github.run_id }}_${{ github.run_attempt }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -23,8 +24,6 @@ jobs:
with:
distribution: temurin
java-version: 17
- name: Setup temp directory
run: echo "JAVA_OPTS_TMP_DIR=$GITHUB_WORKSPACE/t" >> "$GITHUB_ENV"
- name: Setup java options
run: |
echo "JAVA_OPTS=$JAVA_OPTS -Djava.io.tmpdir=$JAVA_OPTS_TMP_DIR" >> "$GITHUB_ENV" && \
Expand Down

0 comments on commit ce6ac8b

Please sign in to comment.