Call through to loadRecords from the MemoryCache to the SQL one (#5848) #1276
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: push | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- 'docs/**' | |
- '*.md' | |
env: | |
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | |
jobs: | |
deploy: | |
runs-on: macos-14 | |
if: github.repository == 'apollographql/apollo-kotlin' | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | |
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 #v4.0.0 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- uses: gradle/gradle-build-action@42452daeb5b454a76f686a8e4de8234afd7b1f44 #v2.12.0 | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Build with Gradle | |
#--no-configuration-cache for https://youtrack.jetbrains.com/issue/KT-65879 | |
run: | | |
./gradlew -p tests ciBuild -i | |
./gradlew :apollo-kdoc:dokkatooGeneratePublicationHtml --no-build-cache | |
./gradlew ciPublishSnapshot --no-configuration-cache | |
env: | |
SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | |
SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | |
COM_APOLLOGRAPHQL_PROFILE_ID: ${{ secrets.COM_APOLLOGRAPHQL_PROFILE_ID }} | |
- name: Collect Diagnostics | |
if: always() | |
run: ./scripts/collect-diagnostics.main.kts | |
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 #v4.3.0 | |
if: always() | |
with: | |
name: push.zip | |
path: diagnostics.zip | |
- name: Deploy Kdoc to github pages | |
uses: JamesIves/github-pages-deploy-action@65b5dfd4f5bcd3a7403bbc2959c144256167464e #v4.5.0 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: libraries/apollo-kdoc/build/dokka/html # The folder the action should deploy. |