Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Aug 5, 2024
1 parent cebf7ae commit 1704b14
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/actions/setup-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ inputs:
runs:
using: 'composite'
steps:
- name: "Redirect caches to fast D: drive for Windows runners"
if: runner.os == 'Windows'
shell: bash
run: |
mkdir D:\.gradle
mklink /D C:\Users\runneradmin\.gradle D:\.gradle
mkdir D:\.konan
mklink /D C:\Users\runneradmin\.konan D:\.konan
# On Windows/Linux runners temurin JDK 8, 11, 17, 21 are cached
# On macOS arm64 runners temurin JDK 11, 17, 21 are cached; temurin JDK 8 is not available to download
- uses: actions/setup-java@v4
Expand All @@ -32,7 +40,7 @@ runs:

cache-disabled: ${{ inputs.cache-disabled }}
cache-read-only: ${{ inputs.cache-read-only }}
- if: matrix.os == 'windows-latest'
- if: runner.os == 'Windows'
uses: msys2/setup-msys2@v2
with:
release: false
Expand Down

0 comments on commit 1704b14

Please sign in to comment.