Skip to content

Commit

Permalink
Disable CI for Windows & JDK8
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Mar 25, 2023
1 parent 8757eb6 commit c41220d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/gradle-pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ on:
workflow_dispatch:

env:
ORG_GRADLE_PROJECT_signingKey : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }}
ORG_GRADLE_PROJECT_signingKeyPassword : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
ORG_GRADLE_PROJECT_signingKeyPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
CLI_TEST_MAX_DURATION_IN_SECONDS: 10

jobs:
Expand All @@ -21,6 +21,9 @@ jobs:
# When changing the list of JDK versions, the build configuration has to be changed by a repository admin. See
# https://github.com/pinterest/ktlint/pull/1787#issuecomment-1409074092
jdk: [ 8, 11, 17, 19 ]
exclude: # windows with JDK8 are *really* flaky
- os: windows-latest
jdk: 8
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -32,9 +35,9 @@ jobs:
with:
gradle-home-cache-cleanup: true
- name: Build with release Kotlin version
run: ./gradlew build ktlint --no-daemon
run: ./gradlew build ktlint
- name: Build with dev Kotlin version
run: ./gradlew -PkotlinDev build ktlint --no-daemon
run: ./gradlew -PkotlinDev build ktlint
- name: Upload test results
uses: actions/upload-artifact@v3
if: failure()
Expand Down

0 comments on commit c41220d

Please sign in to comment.