From 71cb0d5c15f1505e8eda35dfb9b0340eb4a1b041 Mon Sep 17 00:00:00 2001 From: Ultra Man Date: Thu, 3 Nov 2022 00:41:16 +0530 Subject: [PATCH 1/2] Migrate sanity.yml to setup-java The AdoptOpenJDK/install-jdk has not been updated in a while but setup-java is so it probably makes sense to migrate to it. Also see #122 for more details. --- .github/workflows/sanity.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index 862c35b..a174672 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -1,7 +1,7 @@ -name: "nightly sanity test" +name: "weekly sanity test" on: schedule: - - cron: '30 20 * * 1-5' + - cron: '30 20 * * 1' jobs: sanity: @@ -11,16 +11,14 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] version: [8, 11, 17] - impl: [hotspot] + distribution: [temurin] buildlist: [openjdk, system, functional] steps: - uses: actions/checkout@v3 - - uses: AdoptOpenJDK/install-jdk@v1 + - uses: actions/setup-java@v3 with: - version: ${{ matrix.version }} - targets: JDK_${{ matrix.version }} - impl: ${{ matrix.impl }} - source: 'nightly' + java-version: ${{ matrix.version }} + distribution: ${{ matrix.impl }} - name: AQA uses: ./ with: From b306c013d844cf77e5a84bcaf1dced2f3592d165 Mon Sep 17 00:00:00 2001 From: Ultra Man Date: Sat, 5 Nov 2022 01:24:55 +0530 Subject: [PATCH 2/2] Fix parameter name --- .github/workflows/sanity.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index a174672..afd221d 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -11,7 +11,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] version: [8, 11, 17] - distribution: [temurin] + impl: [temurin] buildlist: [openjdk, system, functional] steps: - uses: actions/checkout@v3