Skip to content

Commit

Permalink
Fix Gradle error and pin CI to JDK 11
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleyadio committed Nov 16, 2021
1 parent a7a009a commit e666c8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ jobs:
steps:
- name: Checkout latest code
uses: actions/checkout@v2
- name: Cache gradle dependencies
uses: actions/cache@v2
- name: Set JDK version
uses: actions/setup-java@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
distribution: 'temurin'
java-version: '11'
cache: 'gradle'
- name: Publish artifact
env:
GITHUB_TOKEN: ${{ secrets.DH_TECH_BOT_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
enableFeaturePreview("VERSION_CATALOGS")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

rootProject.name = "whetstone"
rootProject.name = "pd-whetstone"

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
Expand Down

0 comments on commit e666c8c

Please sign in to comment.