Skip to content

Commit

Permalink
chore: Change gradle user home on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
warnyul committed Aug 3, 2024
1 parent 1393d1e commit baeaf7c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
contents: read

steps:
- name: Change Gradle user home
shell: bash
if: ${{ startsWith(matrix.os, 'windows') }}
run: |
$GRADLE_USER_HOME=$RUNNER_TEMP\.gradle
mkdir -p "$GRADLE_USER_HOME"
echo "GRADLE_USER_HOME=$GRADLE_USER_HOME" >> $GITHUB_ENV
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up JDK
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
Expand Down

0 comments on commit baeaf7c

Please sign in to comment.