Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/sdk-reference.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
environment:
name: sdk-reference
url: ${{ steps.deploy.outputs.url }}
url: ${{ steps.deploy.outputs.deployment-url }}
steps:
- uses: actions/checkout@v3
- name: Setup Java 8
Expand All @@ -38,12 +38,10 @@ jobs:
echo "CLOUDFLARE_BRANCH=$BRANCH" >> "$GITHUB_ENV"
fi
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
# cloudflare/pages-action was removed from GitHub; wrangler-action is its replacement.
uses: cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0 # v4.1.3
id: deploy
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: nylas-java-sdk-reference
directory: build/dokka/html
wranglerVersion: "3"
branch: ${{ env.CLOUDFLARE_BRANCH }}
command: pages deploy build/dokka/html --project-name=nylas-java-sdk-reference --branch=${{ env.CLOUDFLARE_BRANCH }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
* Contact metadata request/response models and `metadata_pair` filtering.
* `contact.updated` and `contact.deleted` webhook trigger constants with iCloud and Yahoo compatibility documentation.

### Fixed
* Building from source no longer fails when JDK 8 is not installed locally: Gradle now downloads the JDK 8 toolchain required by the build (foojay toolchain resolver). This also fixes CodeQL autobuild on GitHub's current `ubuntu-latest` runners.
* SDK reference docs deployment now uses `cloudflare/wrangler-action`, replacing the removed `cloudflare/pages-action`.

## [v2.18.1] - Release 2026-08-18

### Added
Expand Down
6 changes: 6 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
* in the user manual at https://docs.gradle.org/5.4/userguide/multi_project_builds.html
*/

plugins {
// Downloads the JDK 8 toolchain required by jvmToolchain(8) when it is not installed locally
// (e.g. GitHub's ubuntu-latest image used by CodeQL autobuild no longer ships JDK 8).
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

rootProject.name = "nylas"

// Include the examples subproject
Expand Down
Loading