Fix CRaC JDK download in docker container (#828) #1238
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows CI | |
on: | |
push: | |
branches: | |
- master | |
- '[1-9]+.[0-9]+.x' | |
pull_request: | |
branches: | |
- master | |
- '[1-9]+.[0-9]+.x' | |
jobs: | |
build: | |
if: github.repository != 'micronaut-projects/micronaut-project-template' | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
java: ['11'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Setup GraalVM CE | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
version: '22.0.0.2' | |
java-version: ${{ matrix.java }} | |
components: 'native-image' | |
- name: Build with Gradle | |
shell: cmd | |
run: ./gradlew.bat check --no-daemon --continue | |
env: | |
TESTCONTAINERS_RYUK_DISABLED: true | |
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | |
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }} | |
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} |